@@ -6,21 +6,21 @@ version: 2.1
66
77aliases :
88 - &restore_repo_cache
9- key : v21 -repo-{{ .Environment.CIRCLE_SHA1 }}
9+ key : v22 -repo-{{ .Environment.CIRCLE_SHA1 }}
1010
1111 - &save_repo_cache
12- key : v21 -repo-{{ .Environment.CIRCLE_SHA1 }}
12+ key : v22 -repo-{{ .Environment.CIRCLE_SHA1 }}
1313 paths :
1414 - ~/codesandbox-client
1515
1616 - &restore_deps_cache
1717 keys :
18- - v21 -dependency-cache-{{ .Branch }}-{{ checksum "yarn.lock" }}
19- - v21 -dependency-cache-{{ .Branch }}
20- - v21 -dependency-cache
18+ - v22 -dependency-cache-{{ .Branch }}-{{ checksum "yarn.lock" }}
19+ - v22 -dependency-cache-{{ .Branch }}
20+ - v22 -dependency-cache
2121
2222 - &save_deps_cache
23- key : v21 -dependency-cache-{{ .Branch }}-{{ checksum "yarn.lock" }}
23+ key : v22 -dependency-cache-{{ .Branch }}-{{ checksum "yarn.lock" }}
2424 paths :
2525 - node_modules
2626 - packages/app/node_modules
@@ -39,29 +39,38 @@ aliases:
3939
4040 - &restore_standalone_deps_cache
4141 keys :
42- - v21-standalone-dependency-cache-{{ .Branch }}-{{ checksum "standalone-packages/codesandbox-browserfs/yarn.lock" }}
43- - v21-standalone-dependency-cache-{{ .Branch }}
44- - v21-standalone-dependency-cache
42+ - v22-standalone-dependency-cache-{{ .Branch }}-{{ checksum
43+ " standalone-packages/codesandbox-browserfs/yarn.lock" }}
44+ - v22-standalone-dependency-cache-{{ .Branch }}
45+ - v22-standalone-dependency-cache
4546
4647 - &save_standalone_deps_cache
47- key : v21-standalone-dependency-cache-{{ .Branch }}-{{ checksum "standalone-packages/codesandbox-browserfs/yarn.lock" }}
48+ key :
49+ v22-standalone-dependency-cache-{{ .Branch }}-{{ checksum
50+ " standalone-packages/codesandbox-browserfs/yarn.lock" }}
4851 paths :
4952 - standalone-packages/codesandbox-browserfs/node_modules
5053
5154 - &restore_prod_build_cache
52- key : v21 -prod-app-build-cache-master
55+ key : v22 -prod-app-build-cache-master
5356
5457 - &restore_prod_cache
55- key : v21-prod-build-cache-{{ .Environment.CIRCLE_BRANCH }}-{{ .Environment.CIRCLE_SHA1 }}
58+ key :
59+ v22-prod-build-cache-{{ .Environment.CIRCLE_BRANCH }}-{{
60+ .Environment.CIRCLE_SHA1 }}
5661
5762 - &save_prod_app_cache
58- key : v21-prod-app-build-cache-{{ .Environment.CIRCLE_BRANCH }}-{{ .Environment.CIRCLE_SHA1 }}
63+ key :
64+ v22-prod-app-build-cache-{{ .Environment.CIRCLE_BRANCH }}-{{
65+ .Environment.CIRCLE_SHA1 }}
5966 paths :
6067 - ./packages/app/www
6168 - ./packages/homepage/.cache
6269
6370 - &save_prod_cache
64- key : v21-prod-build-cache-{{ .Environment.CIRCLE_BRANCH }}-{{ .Environment.CIRCLE_SHA1 }}
71+ key :
72+ v22-prod-build-cache-{{ .Environment.CIRCLE_BRANCH }}-{{
73+ .Environment.CIRCLE_SHA1 }}
6574 paths :
6675 - ./www
6776
@@ -119,7 +128,8 @@ commands:
119128 - save_cache : *save_prod_app_cache
120129 - save_cache : *save_prod_cache
121130 test_integrations :
122- description : " Test Integrations with `yarn start:test` & 'yarn test:integrations'"
131+ description :
132+ " Test Integrations with `yarn start:test` & 'yarn test:integrations'"
123133 steps :
124134 - restore_cache : *restore_repo_cache
125135 - run :
@@ -128,7 +138,10 @@ commands:
128138 background : true
129139 - run :
130140 name : Setup BrowserStack local environment
131- command : ' [ -n "$BROWSER_STACK_KEY" ] && ./packages/app/integration-tests/BrowserStackLocal --key $BROWSER_STACK_KEY || true'
141+ command :
142+ ' [ -n "$BROWSER_STACK_KEY" ] &&
143+ ./packages/app/integration-tests/BrowserStackLocal --key
144+ $BROWSER_STACK_KEY || true'
132145 background : true
133146 - run :
134147 name : Test Integrations
@@ -175,13 +188,19 @@ commands:
175188 - restore_cache : *restore_prod_cache
176189 - run :
177190 name : Docker Sign In
178- command : ' [ -n "<< parameters.user >>" ] && echo << parameters.password >> | docker login -u << parameters.user >> --password-stdin || true'
191+ command :
192+ ' [ -n "<< parameters.user >>" ] && echo << parameters.password >> |
193+ docker login -u << parameters.user >> --password-stdin || true'
179194 - run :
180195 name : Create Image
181- command : ' [ -n "<< parameters.user >>" ] && docker build -t codesandbox/client:${CIRCLE_SHA1:0:7} . || true'
196+ command :
197+ ' [ -n "<< parameters.user >>" ] && docker build -t
198+ codesandbox/client:${CIRCLE_SHA1:0:7} . || true'
182199 - run :
183200 name : Push Image
184- command : ' [ -n "<< parameters.user >>" ] && docker push codesandbox/client:${CIRCLE_SHA1:0:7} || true'
201+ command :
202+ ' [ -n "<< parameters.user >>" ] && docker push
203+ codesandbox/client:${CIRCLE_SHA1:0:7} || true'
185204
186205# ###############################
187206# Jobs
0 commit comments