Skip to content

Commit

Permalink
chore: skip Circle env canary check unless in Docker (#23467)
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Aug 19, 2022
1 parent 97551d7 commit 6e18996
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ executors:
resource_class: medium
environment:
PLATFORM: linux
CI_DOCKER: "true"

# Docker image with non-root "node" user
non-root-docker-user:
Expand Down Expand Up @@ -1200,8 +1201,10 @@ jobs:
- run:
name: Check env canaries on Linux
command: |
# Windows/Mac M1 CircleCI does not have a way to pull per-job env
[[ $PLATFORM == 'linux' ]] && node ./scripts/circle-env.js --check-canaries || true
# only Docker has the required env data for this
if [[ $CI_DOCKER == 'true' ]]; then
node ./scripts/circle-env.js --check-canaries
fi
- build-and-persist
- store-npm-logs

Expand Down
2 changes: 1 addition & 1 deletion scripts/verify-mocha-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async function checkReportFiles (filenames) {
circleEnv = await readCircleEnv()
} catch (err) {
// set SKIP_CIRCLE_ENV to bypass, for local development
if (!process.env.SKIP_CIRCLE_ENV) throw err
if (!process.env.SKIP_CIRCLE_ENV && process.env.CI_DOCKER) throw err

circleEnv = {}
}
Expand Down

5 comments on commit 6e18996

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6e18996 Aug 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.7.0/linux-x64/develop-6e18996d0211a6ee22ca5fb31561e6f3597b2f78/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6e18996 Aug 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.7.0/linux-arm64/develop-6e18996d0211a6ee22ca5fb31561e6f3597b2f78/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6e18996 Aug 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.7.0/darwin-x64/develop-6e18996d0211a6ee22ca5fb31561e6f3597b2f78/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6e18996 Aug 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.7.0/darwin-arm64/develop-6e18996d0211a6ee22ca5fb31561e6f3597b2f78/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6e18996 Aug 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.7.0/win32-x64/develop-6e18996d0211a6ee22ca5fb31561e6f3597b2f78/cypress.tgz

Please sign in to comment.