Skip to content

Commit

Permalink
Add manual controls on the nightly pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed Feb 22, 2024
1 parent b677029 commit c4b9e91
Showing 1 changed file with 43 additions and 5 deletions.
48 changes: 43 additions & 5 deletions .buildkite/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,26 @@ env:
linux: "x86_64-linux"

steps:

- label: Placeholder
command: echo "This is a placeholder step"
key: placeholder
agents:
system: ${linux}
queue: "cardano-wallet"

- block: "MacOS integration tests"
if: 'build.branch != "rc-latest"'
key: macos-block

- label: 'Check auto-generated Nix on macOS'
key: macos-nix
commands:
- './nix/regenerate.sh'
agents:
system: ${macos}
queue: "cardano-wallet"
depends_on: macos-block

- label: 'Run integration tests on macOS'
key: macos-tests-integration
Expand All @@ -23,45 +36,70 @@ steps:
system: ${macos}
queue: "cardano-wallet"

- block: "Restoration benchmark"
if: 'build.branch != "rc-latest"'
depends_on: placeholder
key: restore-block

- label: 'Restore benchmark - cardano mainnet'
command: "./.buildkite/bench-restore.sh mainnet"
timeout_in_minutes: 1200
agents:
system: ${linux}
queue: adrestia-bench
if: 'build.env("step") == null || build.env("step") =~ /restore-mainnet/'
depends_on: restore-block

- block: "API benchmark"
if: 'build.branch != "rc-latest"'
depends_on: placeholder
key: api-block

- label: 'API benchmark'
command: "./.buildkite/bench-api.sh"
timeout_in_minutes: 210
agents:
system: ${linux}
queue: adrestia-bench
if: 'build.env("step") == null || build.env("step") =~ /bench-api/'
depends_on: api-block

- block: "Database benchmark"
if: 'build.branch != "rc-latest"'
depends_on: placeholder
key: db-block

- label: 'Database benchmark'
command: "./.buildkite/bench-db.sh"
timeout_in_minutes: 240
agents:
system: ${linux}
queue: adrestia-bench
if: 'build.env("step") == null || build.env("step") =~ /bench-db/'
depends_on: db-block

- block: "Latency benchmark"
if: 'build.branch != "rc-latest"'
depends_on: placeholder
key: latency-block

- label: 'Latency benchmark'
command: "./.buildkite/bench-latency.sh"
timeout_in_minutes: 120
agents:
system: ${linux}
queue: adrestia-bench
if: 'build.env("step") == null || build.env("step") =~ /bench-latency/'
depends_on: latency-block

- block: "Memory benchmark"
if: 'build.branch != "rc-latest"'
depends_on: placeholder
key: memory-block

- label: 'Memory benchmark'
command: "./.buildkite/bench-memory.sh"
timeout_in_minutes: 30
agents:
system: ${linux}
queue: adrestia-bench
if: 'build.env("step") == null || build.env("step") =~ /bench-memory/'
depends_on: memory-block

# TODO: ADP-549 Port migrations test to shelley
# - label: 'Database Migrations Test'
Expand Down

0 comments on commit c4b9e91

Please sign in to comment.