Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CI node retry count on GitHub Actions #197

Merged
merged 3 commits into from
May 23, 2023

Conversation

ArturT
Copy link
Member

@ArturT ArturT commented May 23, 2023

Related

info

If you use Knapsack Pro for your open source project and your forked repositories stopped running tests please update the bash script:

#!/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 \
  KNAPSACK_PRO_MAX_REQUEST_RETRIES=0 \
  KNAPSACK_PRO_CI_NODE_RETRY_COUNT=0 \
  bundle exec rake knapsack_pro:queue:rspec
else
  bundle exec rake knapsack_pro:queue:rspec
fi

You need to add KNAPSACK_PRO_CI_NODE_RETRY_COUNT=0 to run tests for retried jobs on Github Actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant