17
17
PERCY_ENABLE : 0
18
18
steps :
19
19
- checkout
20
+ - run : echo $PYVERSION > ver.txt
20
21
- run : cat requires-*.txt > requires-all.txt
21
22
- restore_cache :
22
- key : dep-{{ checksum ".circleci/config.yml" }}-{{ .Environment.PYVERSION }}-{{ checksum "requires-all.txt" }}
23
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
23
24
- attach_workspace :
24
25
at : ~/dash
25
26
- store_artifacts :
40
41
41
42
steps :
42
43
- checkout
44
+ - run : echo $PYVERSION > ver.txt
43
45
- run : cat requires-*.txt > requires-all.txt
44
46
- restore_cache :
45
- key : dep-{{ checksum ".circleci/config.yml" }}-{{ .Environment.PYVERSION }}-{{ checksum "requires-all.txt" }}
47
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
46
48
- run :
47
49
name : 🏁 Build Component Packages & Update Dependencies/Artifacts
48
50
command : |
58
60
ls -la dash-package
59
61
no_output_timeout : 30m
60
62
- save_cache :
61
- key : dep-{{ checksum ".circleci/config.yml" }}-{{ .Environment.PYVERSION }}-{{ checksum "requires-all.txt" }}
63
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
62
64
paths :
63
65
- venv
64
66
- persist_to_workspace :
81
83
lint-unit-39 : &lint-unit
82
84
working_directory : ~/dash
83
85
docker :
84
- - image : cimg/python:3.9.9-node- browsers
86
+ - image : cimg/python:3.9.9-browsers
85
87
auth :
86
88
username : dashautomation
87
89
password : $DASH_PAT_DOCKERHUB
92
94
93
95
steps :
94
96
- checkout
97
+ - run : echo $PYVERSION > ver.txt
95
98
- run : cat requires-*.txt > requires-all.txt
96
99
- restore_cache :
97
- key : dep-{{ checksum ".circleci/config.yml" }}-{{ .Environment.PYVERSION }}-{{ checksum "requires-all.txt" }}
100
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
98
101
- browser-tools/install-browser-tools
99
102
- run :
100
103
name : ️️🏗️ pip dev requirements
@@ -120,7 +123,7 @@ jobs:
120
123
lint-unit-36 :
121
124
<< : *lint-unit
122
125
docker :
123
- - image : cimg/python:3.6.15-node- browsers
126
+ - image : cimg/python:3.6.15-browsers
124
127
auth :
125
128
username : dashautomation
126
129
password : $DASH_PAT_DOCKERHUB
@@ -147,7 +150,7 @@ jobs:
147
150
test-39 : &test
148
151
working_directory : ~/dash
149
152
docker :
150
- - image : cimg/python:3.9.9-node- browsers
153
+ - image : cimg/python:3.9.9-browsers
151
154
auth :
152
155
username : dashautomation
153
156
password : $DASH_PAT_DOCKERHUB
@@ -162,9 +165,10 @@ jobs:
162
165
steps :
163
166
- checkout :
164
167
path : ~/dash
168
+ - run : echo $PYVERSION > ver.txt
165
169
- run : cat requires-*.txt > requires-all.txt
166
170
- restore_cache :
167
- key : dep-{{ checksum ".circleci/config.yml" }}-{{ .Environment.PYVERSION }}-{{ checksum "requires-all.txt" }}
171
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
168
172
- browser-tools/install-browser-tools
169
173
- attach_workspace :
170
174
at : ~/dash
@@ -214,9 +218,10 @@ jobs:
214
218
steps :
215
219
- checkout :
216
220
path : ~/dash
221
+ - run : echo $PYVERSION > ver.txt
217
222
- run : cat requires-*.txt > requires-all.txt
218
223
- restore_cache :
219
- key : dep-{{ checksum ".circleci/config.yml" }}-{{ .Environment.PYVERSION }}-{{ checksum "requires-all.txt" }}
224
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
220
225
- run :
221
226
name : 🌸 Lint
222
227
command : |
@@ -252,9 +257,10 @@ jobs:
252
257
steps :
253
258
- checkout :
254
259
path : ~/dash
260
+ - run : echo $PYVERSION > ver.txt
255
261
- run : cat requires-*.txt > requires-all.txt
256
262
- restore_cache :
257
- key : dep-{{ checksum ".circleci/config.yml" }}-{{ .Environment.PYVERSION }}-{{ checksum "requires-all.txt" }}
263
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
258
264
- browser-tools/install-browser-tools
259
265
- attach_workspace :
260
266
at : ~/dash
@@ -304,9 +310,10 @@ jobs:
304
310
steps :
305
311
- checkout :
306
312
path : ~/dash
313
+ - run : echo $PYVERSION > ver.txt
307
314
- run : cat requires-*.txt > requires-all.txt
308
315
- restore_cache :
309
- key : dep-{{ checksum ".circleci/config.yml" }}-{{ .Environment.PYVERSION }}-{{ checksum "requires-all.txt" }}
316
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
310
317
- browser-tools/install-browser-tools
311
318
- attach_workspace :
312
319
at : ~/dash
@@ -343,7 +350,7 @@ jobs:
343
350
table-server-test :
344
351
working_directory : ~/dash
345
352
docker :
346
- - image : cimg/python:3.9.9-node- browsers
353
+ - image : cimg/python:3.9.9-browsers
347
354
environment :
348
355
PYVERSION : python39
349
356
PERCY_ENABLE : 1
@@ -354,9 +361,10 @@ jobs:
354
361
steps :
355
362
- checkout :
356
363
path : ~/dash
364
+ - run : echo $PYVERSION > ver.txt
357
365
- run : cat requires-*.txt > requires-all.txt
358
366
- restore_cache :
359
- key : dep-{{ checksum ".circleci/config.yml" }}-{{ .Environment.PYVERSION }}-{{ checksum "requires-all.txt" }}
367
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
360
368
- browser-tools/install-browser-tools
361
369
- attach_workspace :
362
370
at : ~/dash
@@ -388,16 +396,17 @@ jobs:
388
396
table-unit-test :
389
397
working_directory : ~/dash/components/dash-table
390
398
docker :
391
- - image : cimg/python:3.9.9-node- browsers
399
+ - image : cimg/python:3.9.9-browsers
392
400
environment :
393
401
PYVERSION : python39
394
402
PERCY_ENABLE : 0
395
403
steps :
396
404
- checkout :
397
405
path : ~/dash
406
+ - run : echo $PYVERSION > ver.txt
398
407
- run : cat requires-*.txt > requires-all.txt
399
408
- restore_cache :
400
- key : dep-{{ checksum ".circleci/config.yml" }}-{{ .Environment.PYVERSION }}-{{ checksum "requires-all.txt" }}
409
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
401
410
- browser-tools/install-browser-tools
402
411
- attach_workspace :
403
412
at : ~/dash
@@ -454,9 +463,10 @@ jobs:
454
463
steps :
455
464
- checkout :
456
465
path : ~/dash
466
+ - run : echo $PYVERSION > ver.txt
457
467
- run : cat requires-*.txt > requires-all.txt
458
468
- restore_cache :
459
- key : dep-{{ checksum ".circleci/config.yml" }}-{{ .Environment.PYVERSION }}-{{ checksum "requires-all.txt" }}
469
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
460
470
- restore_cache :
461
471
key : dep-{{ .Branch }}-{{ checksum "components/dash-table/package-lock.json" }}-{{ checksum "components/dash-table/package.json" }}
462
472
- run :
0 commit comments