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

Use flake.nix on node_sync_tests #13

Merged
merged 1 commit into from
Nov 21, 2024
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
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
Loading