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

Use Docker image short-form Node.js tag in examples #6047

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/accessibility/results-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ run-cypress:
pipeline {
agent {
docker {
image 'cypress/base:latest'
image 'cypress/base:22.12.0'
}
}

Expand Down Expand Up @@ -359,7 +359,7 @@ version: 2.1
jobs:
linux-test:
docker:
- image: cypress/base:latest
- image: cypress/base:22.12.0

working_directory: ~/repo
steps:
Expand Down
4 changes: 2 additions & 2 deletions docs/app/continuous-integration/aws-codebuild.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@ version: 0.2
## https://docs.aws.amazon.com/codebuild/latest/userguide/batch-build-buildspec.html

## Define build to run using the
## "cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1" image
## "cypress/browsers:22.12.0" image
## from the Cypress Amazon ECR Public Gallery
batch:
fast-fail: false
build-list:
- identifier: cypress-e2e-tests
env:
image: public.ecr.aws/cypress-io/cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
image: public.ecr.aws/cypress-io/cypress/browsers:22.12.0
MikeMcC399 marked this conversation as resolved.
Show resolved Hide resolved

phases:
install:
Expand Down
8 changes: 4 additions & 4 deletions docs/app/continuous-integration/bitbucket-pipelines.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ example, this allows us to run the tests in Firefox by passing the
Read about [Cypress Docker variants](/app/continuous-integration/overview#Cypress-Docker-variants) to decide which image is best for your project.

```yaml title="bitbucket-pipelines.yml"
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
image: cypress/browsers:22.12.0

pipelines:
default:
Expand Down Expand Up @@ -76,7 +76,7 @@ Artifacts from a job can be defined by providing paths to the `artifacts`
attribute.

```yaml title="bitbucket-pipelines.yml"
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
image: cypress/browsers:22.12.0

pipelines:
default:
Expand Down Expand Up @@ -140,7 +140,7 @@ recording test results to [Cypress Cloud](/cloud/get-started/introduction).
:::

```yaml title="bitbucket-pipelines.yml"
image: cypress/base:22.11.0
image: cypress/base:22.12.0

## job definition for running E2E tests in parallel
e2e: &e2e
Expand Down Expand Up @@ -199,7 +199,7 @@ definitions:
The complete `bitbucket-pipelines.yml` is below:

```yaml title="bitbucket-pipelines.yml"
image: cypress/base:22.11.0
image: cypress/base:22.12.0

## job definition for running E2E tests in parallel
e2e: &e2e
Expand Down
2 changes: 1 addition & 1 deletion docs/app/continuous-integration/github-actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
cypress-run:
runs-on: ubuntu-22.04
container:
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
image: cypress/browsers:22.12.0
options: --user 1001
steps:
- name: Checkout
Expand Down
10 changes: 5 additions & 5 deletions docs/app/continuous-integration/gitlab-ci.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ stages:
- test

test:
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
image: cypress/browsers:22.12.0
stage: test
script:
# install dependencies
Expand Down Expand Up @@ -99,7 +99,7 @@ cache:
- .npm/

test:
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
image: cypress/browsers:22.12.0
stage: test
script:
# install dependencies
Expand Down Expand Up @@ -166,7 +166,7 @@ cache:

## Install npm dependencies and Cypress
install:
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
image: cypress/browsers:22.12.0
stage: build
script:
- npm ci
Expand Down Expand Up @@ -211,13 +211,13 @@ cache:

## Install npm dependencies and Cypress
install:
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
image: cypress/browsers:22.12.0
stage: build
script:
- npm ci

ui-chrome-tests:
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
image: cypress/browsers:22.12.0
stage: test
parallel: 5
script:
Expand Down
4 changes: 2 additions & 2 deletions docs/ui-coverage/results-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ run-cypress:
pipeline {
agent {
docker {
image 'cypress/base:latest'
image 'cypress/base:22.12.0'
}
}

Expand Down Expand Up @@ -323,7 +323,7 @@ version: 2.1
jobs:
linux-test:
docker:
- image: cypress/base:latest
- image: cypress/base:22.12.0

working_directory: ~/repo
steps:
Expand Down