Skip to content

Commit

Permalink
Use flake.nix on node_sync_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saratomaz committed Nov 21, 2024
1 parent 8be8733 commit 93eb043
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .buildkite/node_sync_tests.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 93eb043

Please sign in to comment.