Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makes sonic version configurable #245

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
12 changes: 10 additions & 2 deletions carmen/validate-witness-proof.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ pipeline {
parameters {
string(name: 'tmpDb', defaultValue: '/mnt/tmp-disk', description: 'Temporary directory to store the state DB.')
string(name: 'aidaDb', defaultValue: '/mnt/aida-db-central/aida-db', description: 'Temporary directory to read Aida DB from.')
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: '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.')
string(defaultValue: "5000000", description: 'The block height to import and test witness proof on', name: 'Blocks')
}

Expand All @@ -42,6 +43,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