Skip to content

Commit

Permalink
Update knapsack_pro_queue_rspec_record_first_run
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturT committed Nov 28, 2023
1 parent f898893 commit d8e8123
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions bin/knapsack_pro_queue_rspec_record_first_run
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
#
# To run tests on the same commit for all nodes do:
# CI node 0 for commit-v1
# bin/knapsack_pro_queue_rspec_record_first_run 0 2 commit-v1
# bin/knapsack_pro_queue_rspec_record_first_run 0 2 commit-v1 ci-build-1
# CI node 1 for commit-v2
# bin/knapsack_pro_queue_rspec_record_first_run 1 2 commit-v1
# bin/knapsack_pro_queue_rspec_record_first_run 1 2 commit-v1 ci-build-1

CI_BUILD_ID=$(openssl rand -base64 32)
RANDOM_CI_BUILD_ID=$(openssl rand -base64 32)
CI_BUILD_ID=${3:-$RANDOM_CI_BUILD_ID}
COMMIT_HASH=$(ruby -e "require 'securerandom'; puts SecureRandom.hex")
BRANCH_NAME=fake-branch

Expand All @@ -22,6 +23,9 @@ BRANCH_NAME=fake-branch

#export KNAPSACK_PRO_FIXED_QUEUE_SPLIT=true

#export EXTRA_TEST_FILES_DELAY=10 # seconds
#export KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES=true

KNAPSACK_PRO_ENDPOINT=http://api.knapsackpro.test:3000 \
KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC=fec3c641a3c4d2e720fe1b6d9dd780bc \
KNAPSACK_PRO_CI_NODE_BUILD_ID=$CI_BUILD_ID \
Expand Down

0 comments on commit d8e8123

Please sign in to comment.