Skip to content

Commit aa5f54c

Browse files
committed
update circleci images
1 parent 397cb26 commit aa5f54c

File tree

1 file changed

+28
-26
lines changed

1 file changed

+28
-26
lines changed

.circleci/config.yml

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ version: 2.1
33
orbs:
44
win: circleci/[email protected]
55
percy: percy/[email protected]
6+
browser-tools: circleci/[email protected]
67

78
jobs:
89
artifacts:
910
docker:
10-
- image: circleci/python:3.9.2-buster-node-browsers
11+
- image: cimg/python:3.9.9
1112
auth:
1213
username: dashautomation
1314
password: $DASH_PAT_DOCKERHUB
@@ -29,7 +30,7 @@ jobs:
2930
install-dependencies-39: &install-dependencies
3031
working_directory: ~/dash
3132
docker:
32-
- image: circleci/python:3.9.2-buster-node-browsers
33+
- image: cimg/python:3.9.9-node
3334
auth:
3435
username: dashautomation
3536
password: $DASH_PAT_DOCKERHUB
@@ -70,7 +71,7 @@ jobs:
7071
install-dependencies-36:
7172
<<: *install-dependencies
7273
docker:
73-
- image: circleci/python:3.6.13-stretch-node-browsers
74+
- image: cimg/python:3.6.15-node
7475
auth:
7576
username: dashautomation
7677
password: $DASH_PAT_DOCKERHUB
@@ -82,7 +83,7 @@ jobs:
8283
lint-unit-39: &lint-unit
8384
working_directory: ~/dash
8485
docker:
85-
- image: circleci/python:3.9.4-node-browsers
86+
- image: cimg/python:3.9.9-node
8687
auth:
8788
username: dashautomation
8889
password: $DASH_PAT_DOCKERHUB
@@ -121,7 +122,7 @@ jobs:
121122
lint-unit-36:
122123
<<: *lint-unit
123124
docker:
124-
- image: circleci/python:3.6.13-stretch-node-browsers
125+
- image: cimg/python:3.6.15-node
125126
auth:
126127
username: dashautomation
127128
password: $DASH_PAT_DOCKERHUB
@@ -150,7 +151,7 @@ jobs:
150151
test-39: &test
151152
working_directory: ~/dash
152153
docker:
153-
- image: circleci/python:3.9.2-buster-node-browsers
154+
- image: cimg/python:3.9.9-node-browsers
154155
auth:
155156
username: dashautomation
156157
password: $DASH_PAT_DOCKERHUB
@@ -160,14 +161,15 @@ jobs:
160161
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: True
161162
PYVERSION: python39
162163
REDIS_URL: redis://localhost:6379
163-
- image: circleci/redis
164+
- image: cimg/redis
164165
parallelism: 3
165166
steps:
166167
- checkout
167168
- run: echo $PYVERSION > ver.txt
168169
- run: echo requires-*.txt > requires-all.txt
169170
- restore_cache:
170171
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
172+
- browser-tools/install-browser-tools
171173
- attach_workspace:
172174
at: ~/dash
173175
- run:
@@ -192,7 +194,7 @@ jobs:
192194
test-36:
193195
<<: *test
194196
docker:
195-
- image: circleci/python:3.6.13-stretch-node-browsers
197+
- image: cimg/python:3.6.15-browsers
196198
auth:
197199
username: dashautomation
198200
password: $DASH_PAT_DOCKERHUB
@@ -201,12 +203,12 @@ jobs:
201203
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: True
202204
PYVERSION: python36
203205
REDIS_URL: redis://localhost:6379
204-
- image: circleci/redis
206+
- image: cimg/redis
205207

206208
dcc-lint-unit-39: &dcc-lint-unit
207209
working_directory: ~/dash/components/dash-core-components
208210
docker:
209-
- image: circleci/python:3.9.2-buster-node-browsers
211+
- image: cimg/python:3.9.9-node
210212
auth:
211213
username: dashautomation
212214
password: $DASH_PAT_DOCKERHUB
@@ -244,7 +246,7 @@ jobs:
244246
dcc-lint-unit-36:
245247
<<: *dcc-lint-unit
246248
docker:
247-
- image: circleci/python:3.6.13-stretch-node-browsers
249+
- image: cimg/python:3.6.15-node
248250
auth:
249251
username: dashautomation
250252
password: $DASH_PAT_DOCKERHUB
@@ -255,7 +257,7 @@ jobs:
255257
dcc-build-dash-39: &dcc-build-dash
256258
working_directory: ~/dash/components/dash-core-components
257259
docker:
258-
- image: circleci/python:3.9.2-buster-node-browsers
260+
- image: cimg/python:3.9.9-node
259261
auth:
260262
username: dashautomation
261263
password: $DASH_PAT_DOCKERHUB
@@ -293,7 +295,7 @@ jobs:
293295
dcc-build-dash-36:
294296
<<: *dcc-build-dash
295297
docker:
296-
- image: circleci/python:3.6.13-stretch-node-browsers
298+
- image: cimg/python:3.6.15-node
297299
auth:
298300
username: dashautomation
299301
password: $DASH_PAT_DOCKERHUB
@@ -304,7 +306,7 @@ jobs:
304306
dcc-test-39: &dcc-test
305307
working_directory: ~/dash/components/dash-core-components
306308
docker:
307-
- image: circleci/python:3.9.2-buster-node-browsers
309+
- image: cimg/python:3.9.9-browsers
308310
auth:
309311
username: dashautomation
310312
password: $DASH_PAT_DOCKERHUB
@@ -320,6 +322,7 @@ jobs:
320322
- run: echo requires-*.txt > requires-all.txt
321323
- restore_cache:
322324
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}-{{ checksum "dev-requirements.txt" }}
325+
- browser-tools/install-browser-tools
323326
- attach_workspace:
324327
at: ~/dash/components/dash-core-components
325328
- run:
@@ -343,7 +346,7 @@ jobs:
343346
dcc-test-36:
344347
<<: *dcc-test
345348
docker:
346-
- image: circleci/python:3.6.13-stretch-node-browsers
349+
- image: cimg/python:3.6.15-browsers
347350
auth:
348351
username: dashautomation
349352
password: $DASH_PAT_DOCKERHUB
@@ -354,7 +357,7 @@ jobs:
354357
html-python-39: &html-test
355358
working_directory: ~/dash/components/dash-html-components
356359
docker:
357-
- image: circleci/python:3.9.2-buster-node-browsers
360+
- image: cimg/python:3.9.9-browsers
358361
auth:
359362
username: dashautomation
360363
password: $DASH_PAT_DOCKERHUB
@@ -366,10 +369,9 @@ jobs:
366369
steps:
367370
- checkout:
368371
path: ~/dash
369-
372+
- browser-tools/install-browser-tools
370373
- attach_workspace:
371374
at: ~/dash/components/dash-html-components
372-
373375
- run:
374376
name: 🏗️ Install dependencies
375377
command: |
@@ -379,22 +381,19 @@ jobs:
379381
pip install dash-package/dash-package.tar.gz[ci,dev,testing]
380382
pip install -r dev-requirements.txt
381383
npm ci
382-
383384
- run:
384385
name: 🧰 Build
385386
command: |
386387
. venv/bin/activate
387388
python --version
388389
npm run clean
389390
npm run build
390-
391391
- run:
392392
name: 🧪 Run tests
393393
command: |
394394
. venv/bin/activate
395395
python --version
396396
npm run test
397-
398397
- store_artifacts:
399398
path: ~/dash/components/dash-html-components/test-reports
400399
- store_test_results:
@@ -405,7 +404,7 @@ jobs:
405404
html-python-36:
406405
<<: *html-test
407406
docker:
408-
- image: circleci/python:3.6.13-stretch-node-browsers
407+
- image: cimg/python:3.6.15-browsers
409408
auth:
410409
username: dashautomation
411410
password: $DASH_PAT_DOCKERHUB
@@ -416,7 +415,7 @@ jobs:
416415
table-server-test:
417416
working_directory: ~/dash/components/dash-table
418417
docker:
419-
- image: circleci/python:3.9.2-buster-node-browsers
418+
- image: cimg/python:3.9.9-browsers
420419
environment:
421420
PERCY_ENABLE: 1
422421
PERCY_PARALLEL_TOTAL: -1
@@ -432,6 +431,7 @@ jobs:
432431
echo 'export PERCY_TOKEN="$PERCY_TOKEN"' >> $BASH_ENV
433432
- restore_cache:
434433
key: dep-{{ .Branch }}-{{ checksum "package-lock.json" }}-{{ checksum "package.json" }}-{{ checksum ".circleci/config.yml" }}
434+
- browser-tools/install-browser-tools
435435
- attach_workspace:
436436
at: ~/dash/components/dash-table
437437
- run:
@@ -471,7 +471,7 @@ jobs:
471471
table-unit-test:
472472
working_directory: ~/dash/components/dash-table
473473
docker:
474-
- image: circleci/python:3.9.2-buster-node-browsers
474+
- image: cimg/python:3.9.9-browsers
475475
environment:
476476
PERCY_ENABLE: 0
477477
steps:
@@ -486,6 +486,7 @@ jobs:
486486
key: dep-{{ .Branch }}-{{ checksum "package-lock.json" }}-{{ checksum "package.json" }}-{{ checksum ".circleci/config.yml" }}
487487
paths:
488488
- node_modules
489+
- browser-tools/install-browser-tools
489490
- attach_workspace:
490491
at: ~/dash/components/dash-table
491492
- run:
@@ -504,7 +505,7 @@ jobs:
504505
table-visual-test:
505506
working_directory: ~/dash/components/dash-table
506507
docker:
507-
- image: circleci/node:14-browsers
508+
- image: cimg/node:16.13-browsers
508509
environment:
509510
PERCY_TOKEN: $PERCY_TOKEN_TABLE
510511

@@ -513,6 +514,7 @@ jobs:
513514
path: ~/dash
514515
- restore_cache:
515516
key: dep-{{ .Branch }}-{{ checksum "package-lock.json" }}-{{ checksum "package.json" }}
517+
- browser-tools/install-browser-tools
516518
- run:
517519
name: Install package.json
518520
command: npm ci
@@ -532,7 +534,7 @@ jobs:
532534
table-node:
533535
working_directory: ~/dash/components/dash-table
534536
docker:
535-
- image: circleci/python:3.9.2-node
537+
- image: cimg/python:3.9.9-node
536538
environment:
537539
PERCY_ENABLE: 0
538540
steps:

0 commit comments

Comments
 (0)