Revert "Stop using Knapsack Pro"

This reverts PR https://github.com/consul/consul/pull/3812
This commit is contained in:
Julian Herrero
2019-11-06 18:58:05 +07:00
parent 450c5feb5e
commit 69838c78b9
6 changed files with 24 additions and 13 deletions

9
bin/knapsack_pro_rspec Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
if [ "$KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC" = "" ]; then
KNAPSACK_PRO_ENDPOINT=https://api-disabled-for-fork.knapsackpro.com \
KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC=disabled-for-fork \
bundle exec rake knapsack_pro:rspec # use Regular Mode here always
else
# Queue Mode - dynamic tests allocation across CI nodes
bundle exec rake knapsack_pro:queue:rspec
fi