@@ -80,7 +80,7 @@ executors:
8080 # step, and the saving the initial a workspace state.
8181 build-executor :
8282 docker :
83- - image : mozilla/fxa-circleci:ci-builder-v7
83+ - image : mozilla/fxa-circleci:ci-builder-v8
8484 environment :
8585 NODE_ENV : development
8686 FIRESTORE_EMULATOR_HOST : localhost:9090
@@ -96,7 +96,7 @@ executors:
9696 default : medium
9797 resource_class : << parameters.resource_class >>
9898 docker :
99- - image : mozilla/fxa-circleci:ci-test-runner-v7
99+ - image : mozilla/fxa-circleci:ci-test-runner-v8
100100 environment :
101101 NODE_ENV : development
102102 FIRESTORE_EMULATOR_HOST : localhost:9090
@@ -112,7 +112,7 @@ executors:
112112 default : large
113113 resource_class : << parameters.resource_class >>
114114 docker :
115- - image : mozilla/fxa-circleci:ci-test-runner-v7
115+ - image : mozilla/fxa-circleci:ci-test-runner-v8
116116 - image : cimg/mysql:8.0
117117 command : --default-authentication-plugin=mysql_native_password
118118 - image : jdlk7/firestore-emulator
@@ -135,7 +135,7 @@ executors:
135135 default : xlarge
136136 resource_class : << parameters.resource_class >>
137137 docker :
138- - image : mozilla/fxa-circleci:ci-functional-test-runner-v7
138+ - image : mozilla/fxa-circleci:ci-functional-test-runner-v8
139139 - image : redis
140140 - image : pafortin/goaws
141141 - image : cimg/mysql:8.0
@@ -190,7 +190,7 @@ executors:
190190 default : xlarge
191191 resource_class : << parameters.resource_class >>
192192 docker :
193- - image : mozilla/fxa-circleci:ci-functional-test-runner-v7
193+ - image : mozilla/fxa-circleci:ci-functional-test-runner-v8
194194 environment :
195195 NODE_ENV : development
196196 CUSTOMS_SERVER_URL : none
@@ -300,26 +300,12 @@ commands:
300300 name : Wait for Customs
301301 command : yarn workspace fxa-customs-server start
302302
303- ensure-glean-venv :
304- steps :
305- - run :
306- name : Ensure Python venv has pip and glean_parser
307- command : |
308- set -euxo pipefail
309-
310- rm -rf .venv
311- python3 -m venv .venv
312- . .venv/bin/activate
313-
314- pip install --upgrade 'glean_parser~=14.5'
315-
316303 lint :
317304 parameters :
318305 nx_run :
319306 type : string
320307 default : run-many
321308 steps :
322- - ensure-glean-venv
323309 - run :
324310 name : Linting
325311 command : npx nx << parameters.nx_run >> --parallel=1 -t lint
@@ -330,7 +316,6 @@ commands:
330316 type : string
331317 default : run-many
332318 steps :
333- - ensure-glean-venv
334319 - run :
335320 name : Pre building shared libraries
336321 command : NODE_OPTIONS="--max-old-space-size=7168" npx nx run-many -t build --projects=tag:scope:shared:lib --parallel=2 --verbose
@@ -444,7 +429,6 @@ commands:
444429 type : string
445430 default : run-many
446431 steps :
447- - ensure-glean-venv
448432 - run :
449433 name : Build
450434 command : NODE_OPTIONS="--max-old-space-size=7168" npx nx << parameters.nx_run >> -t build --parallel=2 --all --verbose
@@ -534,7 +518,7 @@ commands:
534518 docker build . \
535519 -f ./project/_dev/docker/ci/Dockerfile \
536520 --target << parameters.target >> \
537- -t mozilla/fxa-circleci:ci-<< parameters.target >>-v7
521+ -t mozilla/fxa-circleci:ci-<< parameters.target >>-v8
538522
539523 create-fxa-ci-images :
540524 # Build CI images. Images are built on top of each other. Each is optimized for a specific task.
@@ -563,10 +547,10 @@ commands:
563547 name : Push CI Images and Extract Yarn Cache
564548 command : |
565549 docker login -u $DOCKER_USER_fxa_circleci -p $DOCKER_PASS_fxa_circleci
566- .circleci/docker-copy-cache.sh mozilla/fxa-circleci:ci-builder-v7
567- docker push mozilla/fxa-circleci:ci-test-runner-v7
568- docker push mozilla/fxa-circleci:ci-functional-test-runner-v7
569- docker push mozilla/fxa-circleci:ci-builder-v7
550+ .circleci/docker-copy-cache.sh mozilla/fxa-circleci:ci-builder-v8
551+ docker push mozilla/fxa-circleci:ci-test-runner-v8
552+ docker push mozilla/fxa-circleci:ci-functional-test-runner-v8
553+ docker push mozilla/fxa-circleci:ci-builder-v8
570554 wait
571555
572556 upload_to_gcs :
@@ -729,7 +713,6 @@ jobs:
729713 - git-checkout
730714 - restore-workspace
731715 - gcp-cli/setup
732- - ensure-glean-venv
733716 - run :
734717 name : Build shared libs
735718 command : NODE_OPTIONS="--max-old-space-size=7168" npx nx run-many -t build --projects=tag:scope:shared:lib --parallel=2
@@ -869,7 +852,6 @@ jobs:
869852 sudo tee -a /etc/hosts \<<<'127.0.0.1 localhost'
870853 sudo cat /etc/hosts
871854 - wait-for-infrastructure
872- - ensure-glean-venv
873855 - run :
874856 name : Start services for playwright tests
875857 command : ./packages/functional-tests/scripts/start-services.sh
0 commit comments