Skip to content

Commit

Permalink
Add independent restoration benchmark to CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed Sep 24, 2024
1 parent 44a4b14 commit 8575d0a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 4 deletions.
42 changes: 39 additions & 3 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -483,17 +483,53 @@ steps:
- label: "1"
value: "1"

- label: Restore benchmark (linux)
- label: Restore benchmark baseline (linux)
command: |
nix develop path:./scripts/buildkite/main --command bash -c \
"./scripts/buildkite/main/bench-restore.sh mainnet"
"./scripts/buildkite/main/bench-restore.sh mainnet base $HOME/databases/node/mainnet-1"
depends_on: restoration-parameters
timeout_in_minutes: 1380
agents:
system: ${linux}
queue: adrestia-bench
concurrency: 1
concurrency_group: 'restoration-benchmark'
concurrency_group: 'restoration-benchmarks-1'

- label: Restore benchmark seq0 (linux)
command: |
nix develop path:./scripts/buildkite/main --command bash -c \
"./scripts/buildkite/main/bench-restore.sh mainnet seq0 $HOME/databases/node/mainnet-2"
depends_on: restoration-parameters
timeout_in_minutes: 1380
agents:
system: ${linux}
queue: adrestia-bench
concurrency: 1
concurrency_group: 'restoration-benchmarks-2'

- label: Restore benchmark seq1 (linux)
command: |
nix develop path:./scripts/buildkite/main --command bash -c \
"./scripts/buildkite/main/bench-restore.sh mainnet seq1 $HOME/databases/node/mainnet-3"
depends_on: restoration-parameters
timeout_in_minutes: 1380
agents:
system: ${linux}
queue: adrestia-bench
concurrency: 1
concurrency_group: 'restoration-benchmarks-3'

- label: Restore benchmark rnd5 (linux)
command: |
nix develop path:./scripts/buildkite/main --command bash -c \
"./scripts/buildkite/main/bench-restore.sh mainnet rnd5 $HOME/databases/node/mainnet-4"
depends_on: restoration-parameters
timeout_in_minutes: 1380
agents:
system: ${linux}
queue: adrestia-bench
concurrency: 1
concurrency_group: 'restoration-benchmarks-4'

- group: MacOS Artifacts
key: macos-artifacts
Expand Down
2 changes: 1 addition & 1 deletion scripts/buildkite/main/bench-restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi

network=$1
bench=$2
node_db=$2
node_db=$3
artifact_name=restore-$network
log=restore.log
results=restore-$network.txt
Expand Down

0 comments on commit 8575d0a

Please sign in to comment.