.circleci/config.yml in knapsack_pro-7.1.0 vs .circleci/config.yml in knapsack_pro-7.6.0
- old
+ new
@@ -153,10 +153,16 @@
export KNAPSACK_PRO_BRANCH="$CIRCLE_BRANCH--$CIRCLE_BUILD_NUM--regular"
bundle exec rake knapsack_pro:rspec
- run:
working_directory: ~/rails-app-with-knapsack_pro
command: |
+ # retry the same split ||
+ export KNAPSACK_PRO_BRANCH="$CIRCLE_BRANCH--$CIRCLE_BUILD_NUM--regular"
+ bundle exec rake knapsack_pro:rspec
+ - run:
+ working_directory: ~/rails-app-with-knapsack_pro
+ command: |
# fallback ||
export KNAPSACK_PRO_ENDPOINT=https://api-fake.knapsackpro.com
export KNAPSACK_PRO_MAX_REQUEST_RETRIES=1
bundle exec rake knapsack_pro:rspec
- run:
@@ -283,10 +289,11 @@
PGUSER: rails-app-with-knapsack_pro
RAILS_ENV: test
RACK_ENV: test
KNAPSACK_PRO_ENDPOINT: https://api-staging.knapsackpro.com
KNAPSACK_PRO_TEST_SUITE_TOKEN_MINITEST: $KNAPSACK_PRO_TEST_SUITE_TOKEN_MINITEST
+ KNAPSACK_PRO_RSPEC_DISABLED: true
EXTRA_TEST_FILES_DELAY: 10
- image: cimg/postgres:14.7
environment:
POSTGRES_DB: rails-app-with-knapsack_pro_test
POSTGRES_PASSWORD: password
@@ -306,10 +313,16 @@
- run:
working_directory: ~/rails-app-with-knapsack_pro
command: |
export KNAPSACK_PRO_BRANCH="$CIRCLE_BRANCH--$CIRCLE_BUILD_NUM--regular"
bundle exec rake knapsack_pro:minitest[--verbose]
+ - run:
+ working_directory: ~/rails-app-with-knapsack_pro
+ command: |
+ # retry the same split ||
+ export KNAPSACK_PRO_BRANCH="$CIRCLE_BRANCH--$CIRCLE_BUILD_NUM--regular"
+ bundle exec rake knapsack_pro:minitest[--verbose]
e2e-queue-minitest:
parameters:
ruby:
type: string
@@ -323,9 +336,10 @@
PGUSER: rails-app-with-knapsack_pro
RAILS_ENV: test
RACK_ENV: test
KNAPSACK_PRO_ENDPOINT: https://api-staging.knapsackpro.com
KNAPSACK_PRO_TEST_SUITE_TOKEN_MINITEST: $KNAPSACK_PRO_TEST_SUITE_TOKEN_MINITEST
+ KNAPSACK_PRO_RSPEC_DISABLED: true
EXTRA_TEST_FILES_DELAY: 10
- image: cimg/postgres:14.7
environment:
POSTGRES_DB: rails-app-with-knapsack_pro_test
POSTGRES_PASSWORD: password