Resolve knapsack-cypress's issue with forks (#20824)

This commit is contained in:
Mac Siri 2024-04-01 17:12:52 -04:00 committed by GitHub
parent b6fa936e36
commit 81aa7861b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -38,7 +38,7 @@ jobs:
file: ./Dockerfile
target: uffizzi
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=min
render-compose-file:
name: Render Docker Compose File

View file

@ -3,6 +3,7 @@ if [ "$KNAPSACK_PRO_TEST_SUITE_TOKEN_CYPRESS" = "" ]; then
KNAPSACK_PRO_ENDPOINT=https://api-disabled-for-fork.knapsackpro.com \
KNAPSACK_PRO_MAX_REQUEST_RETRIES=0 \
KNAPSACK_PRO_TEST_SUITE_TOKEN_CYPRESS=disabled-for-fork \
KNAPSACK_PRO_CI_NODE_RETRY_COUNT=0 \
E2E=true bin/rails cypress:run
else
E2E=true bin/rails cypress:run