From 93eb043da4d960dc2308070b3942a2885c95d568 Mon Sep 17 00:00:00 2001 From: saratomaz Date: Thu, 21 Nov 2024 15:11:26 +0000 Subject: [PATCH] Use flake.nix on node_sync_tests --- .buildkite/node_sync_tests.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.buildkite/node_sync_tests.yml b/.buildkite/node_sync_tests.yml index 2359515d..dc16a3da 100644 --- a/.buildkite/node_sync_tests.yml +++ b/.buildkite/node_sync_tests.yml @@ -1,7 +1,19 @@ steps: - - label: ':drum_with_drumsticks: Run the cardano node sync test on Mainnet using a Linux machine' + - label: ':drum_with_drumsticks: Run the Cardano node sync test on Mainnet using a Linux machine' commands: - - './.buildkite/node_sync_tests.sh $env $build_mode $node_rev1 $node_rev2 $tag_no1 $tag_no2 $node_topology1 $node_topology2 $node_start_arguments1 $node_start_arguments2' + - export BUILD_MODE="$build_mode" + - export ENV="$env" + - export TAG_NO1="$tag_no1" + - export TAG_NO2="$tag_no2" + - export NODE_REV1="$node_rev1" + - export NODE_REV2="$node_rev2" + - export NODE_TOPOLOGY1="$node_topology1" + - export NODE_TOPOLOGY2="$node_topology2" + - export NODE_START_ARGUMENTS1="$node_start_arguments1" + - export NODE_START_ARGUMENTS2="$node_start_arguments2" + - nix develop --accept-flake-config .#python --command python ./sync_tests/node_sync_test.py \ + -b "$BUILD_MODE" -e "$ENV" -t1 "$TAG_NO1" -t2 "$TAG_NO2" -r1 "$NODE_REV1" -r2 "$NODE_REV2" \ + -n1 "$NODE_TOPOLOGY1" -n2 "$NODE_TOPOLOGY2" -a1="$NODE_START_ARGUMENTS1" -a2="$NODE_START_ARGUMENTS2" timeout_in_minutes: 3000 agents: system: x86_64-linux