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

[ADP-3266] Add manual controls on the nightly pipeline #4463

Merged
Merged
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
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
Loading