Skip to content

Commit

Permalink
Update knapsack_pro_queue_rspec_new_build_with_retry
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturT committed Jul 11, 2024
1 parent 1ff56ec commit 6a11b1a
Showing 1 changed file with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@
CI_BUILD_ID=$(openssl rand -base64 32)
COMMIT_HASH=$(ruby -e "require 'securerandom'; puts SecureRandom.hex")

bin/knapsack_pro_queue_rspec_record_first_run 0 3 $COMMIT_HASH $CI_BUILD_ID &
bin/knapsack_pro_queue_rspec_record_first_run 0 4 $COMMIT_HASH $CI_BUILD_ID &
sleep 1
bin/knapsack_pro_queue_rspec_record_first_run 1 3 $COMMIT_HASH $CI_BUILD_ID &
bin/knapsack_pro_queue_rspec_record_first_run 1 4 $COMMIT_HASH $CI_BUILD_ID &
sleep 2
bin/knapsack_pro_queue_rspec_record_first_run 2 3 $COMMIT_HASH $CI_BUILD_ID
bin/knapsack_pro_queue_rspec_record_first_run 2 3 $COMMIT_HASH $CI_BUILD_ID
bin/knapsack_pro_queue_rspec_record_first_run 2 4 $COMMIT_HASH $CI_BUILD_ID &
sleep 1

# retry node 3
bin/knapsack_pro_queue_rspec_record_first_run 3 4 $COMMIT_HASH $CI_BUILD_ID
bin/knapsack_pro_queue_rspec_record_first_run 3 4 $COMMIT_HASH $CI_BUILD_ID

# retry node 2
bin/knapsack_pro_queue_rspec_record_first_run 2 4 $COMMIT_HASH $CI_BUILD_ID

0 comments on commit 6a11b1a

Please sign in to comment.