Skip to content

Migrate most of legacy circleci images to new cimg #5948

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

Merged
merged 1 commit into from
Sep 23, 2021
Merged
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
44 changes: 33 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
version: 2.0
version: 2.1
orbs:
browser-tools: circleci/[email protected]

# Inspired by:
# https://github.com/CircleCI-Public/circleci-demo-workflows/blob/workspace-forwarding/.circleci/config.yml
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
#
# For list of official CircleCI node.js images, go to:
# https://hub.docker.com/r/circleci/node/tags/
# https://hub.docker.com/r/cimg/node/tags/

jobs:
install-and-cibuild:
docker:
- image: circleci/node:16.8.0
- image: cimg/node:16.8.0
working_directory: ~/plotly.js
steps:
- checkout
Expand All @@ -34,9 +36,13 @@ jobs:
timezone-jasmine:
docker:
# need '-browsers' version to test in real (xvfb-wrapped) browsers
- image: circleci/node:16.8.0-browsers
- image: cimg/node:16.8.0-browsers
working_directory: ~/plotly.js
steps:
- browser-tools/install-browser-tools: &browser-versions
chrome-version: 93.0.4577.63
install-firefox: false
install-geckodriver: false
- attach_workspace:
at: ~/
- run:
Expand All @@ -63,13 +69,17 @@ jobs:
no-gl-jasmine:
docker:
# need '-browsers' version to test in real (xvfb-wrapped) browsers
- image: circleci/node:16.8.0-browsers
- image: cimg/node:16.8.0-browsers
environment:
# Alaska time (arbitrary timezone to test date logic)
TZ: "America/Anchorage"
parallelism: 8
working_directory: ~/plotly.js
steps:
- browser-tools/install-browser-tools: &browser-versions
chrome-version: 93.0.4577.63
install-firefox: false
install-geckodriver: false
- attach_workspace:
at: ~/
- run:
Expand All @@ -79,13 +89,17 @@ jobs:
webgl-jasmine:
docker:
# need '-browsers' version to test in real (xvfb-wrapped) browsers
- image: circleci/node:16.8.0-browsers
- image: cimg/node:16.8.0-browsers
environment:
# Alaska time (arbitrary timezone to test date logic)
TZ: "America/Anchorage"
parallelism: 8
working_directory: ~/plotly.js
steps:
- browser-tools/install-browser-tools: &browser-versions
chrome-version: 93.0.4577.63
install-firefox: false
install-geckodriver: false
- attach_workspace:
at: ~/
- run:
Expand All @@ -95,12 +109,16 @@ jobs:
flaky-no-gl-jasmine:
docker:
# need '-browsers' version to test in real (xvfb-wrapped) browsers
- image: circleci/node:16.8.0-browsers
- image: cimg/node:16.8.0-browsers
environment:
# Alaska time (arbitrary timezone to test date logic)
TZ: "America/Anchorage"
working_directory: ~/plotly.js
steps:
- browser-tools/install-browser-tools: &browser-versions
chrome-version: 93.0.4577.63
install-firefox: false
install-geckodriver: false
- attach_workspace:
at: ~/
- run:
Expand All @@ -110,12 +128,16 @@ jobs:
bundle-jasmine:
docker:
# need '-browsers' version to test in real (xvfb-wrapped) browsers
- image: circleci/node:16.8.0-browsers
- image: cimg/node:16.8.0-browsers
environment:
# Alaska time (arbitrary timezone to test date logic)
TZ: "America/Anchorage"
working_directory: ~/plotly.js
steps:
- browser-tools/install-browser-tools: &browser-versions
chrome-version: 93.0.4577.63
install-firefox: false
install-geckodriver: false
- attach_workspace:
at: ~/
- run:
Expand Down Expand Up @@ -192,7 +214,7 @@ jobs:

mock-validation:
docker:
- image: circleci/node:16.8.0
- image: cimg/node:16.8.0
working_directory: ~/plotly.js
steps:
- attach_workspace:
Expand All @@ -206,7 +228,7 @@ jobs:

source-syntax:
docker:
- image: circleci/node:16.8.0
- image: cimg/node:16.8.0
working_directory: ~/plotly.js
steps:
- attach_workspace:
Expand All @@ -217,7 +239,7 @@ jobs:

publish-dist:
docker:
- image: circleci/node:16.8.0
- image: cimg/node:16.8.0
working_directory: ~/plotly.js
steps:
- checkout
Expand Down