Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
Change Cypress versions in CircleCI and Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Junya committed May 24, 2019
1 parent e585b3a commit d22fac7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
# update cache key below
name: Install Cypress 3.1.0
working_directory: ~/ship/web/app
command: npm install cypress@3.1.0
command: npm install cypress@3.2.0
- run:
name: Verify Cypress
working_directory: ~/ship/web/app
Expand All @@ -127,7 +127,7 @@ jobs:
paths:
- ~/.cache/Cypress
- web/app/node_modules/cypress
key: ship-e2e-setup-cy-3.1.0
key: ship-e2e-setup-cy-3.2.0
e2e_init:
docker:
- image: cypress/browsers:node8.9.3-chrome73
Expand Down
4 changes: 2 additions & 2 deletions web/app/cypress/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FROM cypress/browsers:node8.9.3-chrome73
# Instead, pull binary directly
# TODO: Verify checksum of binary
# See https://github.com/cypress-io/cypress/issues/812
RUN curl https://download.cypress.io/desktop/3.1.0?platform=linux64 -L -o cypress.zip
RUN curl https://download.cypress.io/desktop/3.2.0?platform=linux64 -L -o cypress.zip
RUN mkdir -p /Cypress/3.1.0
RUN unzip -q cypress.zip -d /Cypress/3.1.0
ENV CYPRESS_CACHE_FOLDER=/Cypress
Expand All @@ -20,6 +20,6 @@ WORKDIR /repo
ADD web/app/cypress.json /repo/web/app/cypress.json
ADD web/app/cypress /repo/web/app/cypress
ADD Makefile /repo/Makefile
RUN CYPRESS_INSTALL_BINARY=0 CI=true npm i cypress@3.1.0
RUN CYPRESS_INSTALL_BINARY=0 CI=true npm i cypress@3.2.0
COPY --from=build-step /go/src/github.com/replicatedhq/ship/bin/ship /repo/bin/ship
CMD ["make", "cypress_base"]

0 comments on commit d22fac7

Please sign in to comment.