Skip to content

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

Merged
ArturT merged 3 commits intomasterfrom
github-retry-count
May 23, 2023
Merged

Add support for CI node retry count on GitHub Actions#197
ArturT merged 3 commits intomasterfrom
github-retry-count

Conversation

@ArturT
Copy link
Copy Markdown
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