Merge pull request #5258 from consuldemocracy/fix_knapsack
Update bash script to run Knapsack Pro
This commit is contained in:
@@ -3,8 +3,8 @@ if [ "$KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC" = "" ]; then
|
|||||||
KNAPSACK_PRO_ENDPOINT=https://api-disabled-for-fork.knapsackpro.com \
|
KNAPSACK_PRO_ENDPOINT=https://api-disabled-for-fork.knapsackpro.com \
|
||||||
KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC=disabled-for-fork \
|
KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC=disabled-for-fork \
|
||||||
KNAPSACK_PRO_MAX_REQUEST_RETRIES=0 \
|
KNAPSACK_PRO_MAX_REQUEST_RETRIES=0 \
|
||||||
bundle exec rake knapsack_pro:rspec # use Regular Mode here always
|
KNAPSACK_PRO_CI_NODE_RETRY_COUNT=0 \
|
||||||
|
bundle exec rake knapsack_pro:queue:rspec
|
||||||
else
|
else
|
||||||
# Queue Mode - dynamic tests allocation across CI nodes
|
|
||||||
bundle exec rake knapsack_pro:queue:rspec
|
bundle exec rake knapsack_pro:queue:rspec
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user