From f3df59687ef57563fc45b62f23ae1f4d6bca35c3 Mon Sep 17 00:00:00 2001 From: paolino Date: Thu, 22 Feb 2024 10:45:13 +0000 Subject: [PATCH] Add manual controls on the nightly pipeline --- .buildkite/nightly.yml | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/.buildkite/nightly.yml b/.buildkite/nightly.yml index ee577c83e13..fd2ca8ec88f 100644 --- a/.buildkite/nightly.yml +++ b/.buildkite/nightly.yml @@ -7,6 +7,18 @@ 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: @@ -14,6 +26,7 @@ steps: agents: system: ${macos} queue: "cardano-wallet" + depends_on: macos-block - label: 'Run integration tests on macOS' key: macos-tests-integration @@ -23,6 +36,11 @@ 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 @@ -30,6 +48,12 @@ steps: 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" @@ -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" @@ -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" @@ -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" @@ -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'