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 f3df596
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 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,13 +36,24 @@ 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"
Expand All @@ -38,6 +62,12 @@ steps:
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"
Expand All @@ -46,6 +76,12 @@ steps:
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"
Expand All @@ -54,6 +90,12 @@ steps:
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"
Expand All @@ -62,6 +104,7 @@ steps:
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 f3df596

Please sign in to comment.