Skip to content

Commit

Permalink
extends configuration to all carmen pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
kjezek committed Nov 30, 2024
1 parent 2f32b88 commit 0761e44
Show file tree
Hide file tree
Showing 11 changed files with 88 additions and 0 deletions.
8 changes: 8 additions & 0 deletions carmen/race-detection.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pipeline {
parameters {
string(defaultValue: "main", description: 'Can be either branch name or commit hash.', name: 'AidaVersion')
string(defaultValue: "main", description: 'Can be either branch name or commit hash.', name: 'CarmenVersion')
string(name: 'SonicVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
}

stages {
Expand All @@ -41,6 +42,13 @@ pipeline {
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Carmen.git']]
)
}

dir('sonic') {
checkout scmGit(
branches: [[name: "${SonicVersion}"]],
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Sonic.git']]
)
}
}
}

Expand Down
8 changes: 8 additions & 0 deletions carmen/validate-cpp-file-s3.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pipeline {
parameters {
string(defaultValue: "main", description: 'Can be either branch name or commit hash.', name: 'AidaVersion')
string(defaultValue: "main", description: 'Can be either branch name or commit hash.', name: 'CarmenVersion')
string(name: 'SonicVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
}

stages {
Expand All @@ -40,6 +41,13 @@ pipeline {
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Carmen.git']]
)
}

dir('sonic') {
checkout scmGit(
branches: [[name: "${SonicVersion}"]],
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Sonic.git']]
)
}
}
}

Expand Down
8 changes: 8 additions & 0 deletions carmen/validate-db-reset.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pipeline {
string(defaultValue: "1000", description: 'How many iterations will script do.', name: 'NumberOfIterations')
string(defaultValue: "1", description: 'Delay between start of sync process and forced termination (in seconds).', name: 'Window')
string(defaultValue: "1", description: 'How often will Carmen create checkpoints (in blocks).', name: 'CheckpointGranularity')
string(name: 'SonicVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
}

stages {
Expand All @@ -40,6 +41,13 @@ pipeline {
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Carmen.git']]
)
}

dir('sonic') {
checkout scmGit(
branches: [[name: "${SonicVersion}"]],
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Sonic.git']]
)
}
}
}

Expand Down
8 changes: 8 additions & 0 deletions carmen/validate-go-file-s3.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pipeline {
parameters {
string(defaultValue: "main", description: 'Can be either branch name or commit hash.', name: 'AidaVersion')
string(defaultValue: "main", description: 'Can be either branch name or commit hash.', name: 'CarmenVersion')
string(name: 'SonicVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
}

stages {
Expand All @@ -40,6 +41,13 @@ pipeline {
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Carmen.git']]
)
}

dir('sonic') {
checkout scmGit(
branches: [[name: "${SonicVersion}"]],
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Sonic.git']]
)
}
}
}

Expand Down
8 changes: 8 additions & 0 deletions carmen/validate-go-s4.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pipeline {
parameters {
string(defaultValue: "main", description: 'Can be either branch name or commit hash.', name: 'AidaVersion')
string(defaultValue: "main", description: 'Can be either branch name or commit hash.', name: 'CarmenVersion')
string(name: 'SonicVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
}

stages {
Expand All @@ -40,6 +41,13 @@ pipeline {
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Carmen.git']]
)
}

dir('sonic') {
checkout scmGit(
branches: [[name: "${SonicVersion}"]],
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Sonic.git']]
)
}
}
}

Expand Down
8 changes: 8 additions & 0 deletions carmen/validate-go-s5-archive.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pipeline {
parameters {
string(defaultValue: "main", description: 'Can be either branch name or commit hash.', name: 'AidaVersion')
string(defaultValue: "main", description: 'Can be either branch name or commit hash.', name: 'CarmenVersion')
string(name: 'SonicVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
}

stages {
Expand All @@ -40,6 +41,13 @@ pipeline {
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Carmen.git']]
)
}

dir('sonic') {
checkout scmGit(
branches: [[name: "${SonicVersion}"]],
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Sonic.git']]
)
}
}
}

Expand Down
8 changes: 8 additions & 0 deletions carmen/validate-go-s5.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pipeline {
parameters {
string(defaultValue: "main", description: 'Can be either branch name or commit hash.', name: 'AidaVersion')
string(defaultValue: "main", description: 'Can be either branch name or commit hash.', name: 'CarmenVersion')
string(name: 'SonicVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
}

stages {
Expand All @@ -40,6 +41,13 @@ pipeline {
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Carmen.git']]
)
}

dir('sonic') {
checkout scmGit(
branches: [[name: "${SonicVersion}"]],
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Sonic.git']]
)
}
}
}

Expand Down
8 changes: 8 additions & 0 deletions carmen/validate-state-toolchain-archive.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pipeline {
string(name: 'secondBlockHeight', defaultValue: '6000000', description: 'Second block height to import.')
string(name: 'aidaVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
string(name: 'carmenVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
string(name: 'SonicVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
}

stages {
Expand All @@ -37,6 +38,13 @@ pipeline {
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Carmen.git']]
)
}

dir('sonic') {
checkout scmGit(
branches: [[name: "${SonicVersion}"]],
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Sonic.git']]
)
}
}
}

Expand Down
8 changes: 8 additions & 0 deletions carmen/validate-state-toolchain-init-archive.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pipeline {
string(name: 'secondBlockHeight', defaultValue: '6000000', description: 'Second block height to import.')
string(name: 'aidaVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
string(name: 'carmenVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
string(name: 'SonicVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
}

stages {
Expand All @@ -37,6 +38,13 @@ pipeline {
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Carmen.git']]
)
}

dir('sonic') {
checkout scmGit(
branches: [[name: "${SonicVersion}"]],
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Sonic.git']]
)
}
}
}

Expand Down
8 changes: 8 additions & 0 deletions carmen/validate-state-toolchain-live+archive.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pipeline {
string(name: 'secondBlockHeight', defaultValue: '6000000', description: 'Second block height to import.')
string(name: 'aidaVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
string(name: 'carmenVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
string(name: 'SonicVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
}

stages {
Expand All @@ -37,6 +38,13 @@ pipeline {
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Carmen.git']]
)
}

dir('sonic') {
checkout scmGit(
branches: [[name: "${SonicVersion}"]],
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Sonic.git']]
)
}
}
}

Expand Down
8 changes: 8 additions & 0 deletions carmen/validate-state-toolchain-live.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pipeline {
string(name: 'secondBlockHeight', defaultValue: '6000000', description: 'Second block height to import.')
string(name: 'aidaVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
string(name: 'carmenVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
string(name: 'SonicVersion', defaultValue: "main", description: 'Can be either branch name or commit hash.')
}

stages {
Expand All @@ -37,6 +38,13 @@ pipeline {
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Carmen.git']]
)
}

dir('sonic') {
checkout scmGit(
branches: [[name: "${SonicVersion}"]],
userRemoteConfigs: [[url: 'https://github.com/Fantom-foundation/Sonic.git']]
)
}
}
}

Expand Down

0 comments on commit 0761e44

Please sign in to comment.