docbrown/bin/knapsack_pro_rspec
dependabot-preview[bot] ef7fc28cfd
Bump knapsack_pro from 2.2.1 to 2.3.0 (#10297)
* Bump knapsack_pro from 2.2.1 to 2.3.0

Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/KnapsackPro/knapsack_pro-ruby/releases)
- [Changelog](https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v2.2.1...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump knapsack_pro from 2.2.1 to 2.3.0 (Update vendor/cache)

* Set KNAPSACK_PRO_MAX_REQUEST_RETRIES to 0 for Forks

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: mstruve <mollylbs@gmail.com>
2020-09-14 11:39:20 +07:00

9 lines
365 B
Bash
Executable file

#!/bin/bash
if [ "$KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC" = "" ]; then
KNAPSACK_PRO_ENDPOINT=https://api-disabled-for-fork.knapsackpro.com \
KNAPSACK_PRO_MAX_REQUEST_RETRIES=0 \
KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC=disabled-for-fork \
bundle exec rake knapsack_pro:rspec # use Regular Mode here always
else
bundle exec rake knapsack_pro:queue:rspec
fi