Skip to content

Commit 59540b4

Browse files
committed
back to ver.txt for PYVERSION
1 parent b3b22a9 commit 59540b4

File tree

1 file changed

+26
-16
lines changed

1 file changed

+26
-16
lines changed

.circleci/config.yml

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ jobs:
1717
PERCY_ENABLE: 0
1818
steps:
1919
- checkout
20+
- run: echo $PYVERSION > ver.txt
2021
- run: cat requires-*.txt > requires-all.txt
2122
- 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" }}
2324
- attach_workspace:
2425
at: ~/dash
2526
- store_artifacts:
@@ -40,9 +41,10 @@ jobs:
4041

4142
steps:
4243
- checkout
44+
- run: echo $PYVERSION > ver.txt
4345
- run: cat requires-*.txt > requires-all.txt
4446
- 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" }}
4648
- run:
4749
name: 🏁 Build Component Packages & Update Dependencies/Artifacts
4850
command: |
@@ -58,7 +60,7 @@ jobs:
5860
ls -la dash-package
5961
no_output_timeout: 30m
6062
- 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" }}
6264
paths:
6365
- venv
6466
- persist_to_workspace:
@@ -81,7 +83,7 @@ jobs:
8183
lint-unit-39: &lint-unit
8284
working_directory: ~/dash
8385
docker:
84-
- image: cimg/python:3.9.9-node-browsers
86+
- image: cimg/python:3.9.9-browsers
8587
auth:
8688
username: dashautomation
8789
password: $DASH_PAT_DOCKERHUB
@@ -92,9 +94,10 @@ jobs:
9294

9395
steps:
9496
- checkout
97+
- run: echo $PYVERSION > ver.txt
9598
- run: cat requires-*.txt > requires-all.txt
9699
- 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" }}
98101
- browser-tools/install-browser-tools
99102
- run:
100103
name: ️️🏗️ pip dev requirements
@@ -120,7 +123,7 @@ jobs:
120123
lint-unit-36:
121124
<<: *lint-unit
122125
docker:
123-
- image: cimg/python:3.6.15-node-browsers
126+
- image: cimg/python:3.6.15-browsers
124127
auth:
125128
username: dashautomation
126129
password: $DASH_PAT_DOCKERHUB
@@ -147,7 +150,7 @@ jobs:
147150
test-39: &test
148151
working_directory: ~/dash
149152
docker:
150-
- image: cimg/python:3.9.9-node-browsers
153+
- image: cimg/python:3.9.9-browsers
151154
auth:
152155
username: dashautomation
153156
password: $DASH_PAT_DOCKERHUB
@@ -162,9 +165,10 @@ jobs:
162165
steps:
163166
- checkout:
164167
path: ~/dash
168+
- run: echo $PYVERSION > ver.txt
165169
- run: cat requires-*.txt > requires-all.txt
166170
- 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" }}
168172
- browser-tools/install-browser-tools
169173
- attach_workspace:
170174
at: ~/dash
@@ -214,9 +218,10 @@ jobs:
214218
steps:
215219
- checkout:
216220
path: ~/dash
221+
- run: echo $PYVERSION > ver.txt
217222
- run: cat requires-*.txt > requires-all.txt
218223
- 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" }}
220225
- run:
221226
name: 🌸 Lint
222227
command: |
@@ -252,9 +257,10 @@ jobs:
252257
steps:
253258
- checkout:
254259
path: ~/dash
260+
- run: echo $PYVERSION > ver.txt
255261
- run: cat requires-*.txt > requires-all.txt
256262
- 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" }}
258264
- browser-tools/install-browser-tools
259265
- attach_workspace:
260266
at: ~/dash
@@ -304,9 +310,10 @@ jobs:
304310
steps:
305311
- checkout:
306312
path: ~/dash
313+
- run: echo $PYVERSION > ver.txt
307314
- run: cat requires-*.txt > requires-all.txt
308315
- 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" }}
310317
- browser-tools/install-browser-tools
311318
- attach_workspace:
312319
at: ~/dash
@@ -343,7 +350,7 @@ jobs:
343350
table-server-test:
344351
working_directory: ~/dash
345352
docker:
346-
- image: cimg/python:3.9.9-node-browsers
353+
- image: cimg/python:3.9.9-browsers
347354
environment:
348355
PYVERSION: python39
349356
PERCY_ENABLE: 1
@@ -354,9 +361,10 @@ jobs:
354361
steps:
355362
- checkout:
356363
path: ~/dash
364+
- run: echo $PYVERSION > ver.txt
357365
- run: cat requires-*.txt > requires-all.txt
358366
- 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" }}
360368
- browser-tools/install-browser-tools
361369
- attach_workspace:
362370
at: ~/dash
@@ -388,16 +396,17 @@ jobs:
388396
table-unit-test:
389397
working_directory: ~/dash/components/dash-table
390398
docker:
391-
- image: cimg/python:3.9.9-node-browsers
399+
- image: cimg/python:3.9.9-browsers
392400
environment:
393401
PYVERSION: python39
394402
PERCY_ENABLE: 0
395403
steps:
396404
- checkout:
397405
path: ~/dash
406+
- run: echo $PYVERSION > ver.txt
398407
- run: cat requires-*.txt > requires-all.txt
399408
- 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" }}
401410
- browser-tools/install-browser-tools
402411
- attach_workspace:
403412
at: ~/dash
@@ -454,9 +463,10 @@ jobs:
454463
steps:
455464
- checkout:
456465
path: ~/dash
466+
- run: echo $PYVERSION > ver.txt
457467
- run: cat requires-*.txt > requires-all.txt
458468
- 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" }}
460470
- restore_cache:
461471
key: dep-{{ .Branch }}-{{ checksum "components/dash-table/package-lock.json" }}-{{ checksum "components/dash-table/package.json" }}
462472
- run:

0 commit comments

Comments
 (0)