File tree Expand file tree Collapse file tree 5 files changed +112
-51
lines changed
Expand file tree Collapse file tree 5 files changed +112
-51
lines changed Original file line number Diff line number Diff line change @@ -151,41 +151,41 @@ workflows:
151151 version : 2
152152 build :
153153 jobs :
154- - backend-lint :
155- filters :
156- tags :
157- only : /^m[0-9]+(\.[0-9]+)?$/
158- - backend-unit-tests :
159- filters :
160- tags :
161- only : /^m[0-9]+(\.[0-9]+)?$/
162- requires :
163- - backend-lint
164- - frontend-lint :
165- filters :
166- tags :
167- only : /^m[0-9]+(\.[0-9]+)?$/
168- - frontend-unit-tests :
169- filters :
170- tags :
171- only : /^m[0-9]+(\.[0-9]+)?$/
172- requires :
173- - backend-lint
174- - frontend-lint
175- - build-docker-image :
176- requires :
177- - backend-unit-tests
178- - frontend-unit-tests
179- filters :
180- branches :
181- only :
182- - master
183- - build-docker-image-tag :
184- requires :
185- - backend-unit-tests
186- - frontend-unit-tests
187- filters :
188- branches :
189- ignore : /.*/
190- tags :
191- only : /^m[0-9]+(\.[0-9]+)?$/
154+ # - backend-lint:
155+ # filters:
156+ # tags:
157+ # only: /^m[0-9]+(\.[0-9]+)?$/
158+ # - backend-unit-tests:
159+ # filters:
160+ # tags:
161+ # only: /^m[0-9]+(\.[0-9]+)?$/
162+ # requires:
163+ # - backend-lint
164+ # - frontend-lint:
165+ # filters:
166+ # tags:
167+ # only: /^m[0-9]+(\.[0-9]+)?$/
168+ # - frontend-unit-tests:
169+ # filters:
170+ # tags:
171+ # only: /^m[0-9]+(\.[0-9]+)?$/
172+ # requires:
173+ # - backend-lint
174+ # - frontend-lint
175+ # - build-docker-image:
176+ # requires:
177+ # - backend-unit-tests
178+ # - frontend-unit-tests
179+ # filters:
180+ # branches:
181+ # only:
182+ # - master
183+ # - build-docker-image-tag:
184+ # requires:
185+ # - backend-unit-tests
186+ # - frontend-unit-tests
187+ # filters:
188+ # branches:
189+ # ignore: /.*/
190+ # tags:
191+ # only: /^m[0-9]+(\.[0-9]+)?$/
Original file line number Diff line number Diff line change 1+ name : Build docker image tag
2+
3+ on :
4+ push :
5+ branches-ignore :
6+ - ' **'
7+ tags :
8+ # GHA doesn't support regex here so less precise tag matching will have to do
9+ - ' m[0-9]+*'
10+
11+ jobs :
12+ build-docker-image-tag :
13+ docker :
14+ - image : cimg/node:18.20
15+ steps :
16+ - uses : actions/setup-node@v4
17+ with :
18+ node-version : ${{ env.NODE_VERSION }}
19+ cache : ' yarn'
20+ - uses : actions/checkout@v4
21+ with :
22+ ref : ${{ github.event.pull_request.head.sha }}
23+ - run : echo "export MOZILLA_VERSION=$CIRCLE_TAG" >> $BASH_ENV
24+ - run : |
25+ npm install --global --force yarn@$1.22.22
26+ yarn cache clean && yarn --frozen-lockfile --network-concurrency 1
27+ - run : .ci/update_version
28+ # Bundle extensions:
29+ # - run: npm run bundle
30+ - run : .ci/docker_build
31+ # Create alias from tag to "latest":
32+ - run : docker tag $DOCKERHUB_REPO:$CIRCLE_TAG $DOCKERHUB_REPO:latest
33+ - run : docker push $DOCKERHUB_REPO:latest
Original file line number Diff line number Diff line change 1+ name : Build docker image
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build-docker-image :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/setup-node@v4
13+ with :
14+ node-version : ${{ env.NODE_VERSION }}
15+ cache : ' yarn'
16+ - uses : actions/checkout@v4
17+ with :
18+ ref : ${{ github.event.pull_request.head.sha }}
19+ - run : echo "export MOZILLA_VERSION=master" >> $BASH_ENV
20+ - run : |
21+ npm install --global --force yarn@$1.22.22
22+ yarn cache clean && yarn --frozen-lockfile --network-concurrency 1
23+ - run : .ci/update_version
24+ # Bundle extensions:
25+ # - run: npm run bundle
26+ - run : .ci/docker_build
Original file line number Diff line number Diff line change 11name : Periodic Snapshot
22
33on :
4- schedule :
5- - cron : ' 10 0 1 * *' # 10 minutes after midnight on the first day of every month
6- workflow_dispatch :
7- inputs :
8- bump :
9- description : ' Bump the last digit of the version'
10- required : false
11- type : boolean
12- version :
13- description : ' Specific version to set'
14- required : false
15- default : ' '
4+ # DISABLED
5+ # schedule:
6+ # - cron: '10 0 1 * *' # 10 minutes after midnight on the first day of every month
7+ # workflow_dispatch:
8+ # inputs:
9+ # bump:
10+ # description: 'Bump the last digit of the version'
11+ # required: false
12+ # type: boolean
13+ # version:
14+ # description: 'Specific version to set'
15+ # required: false
16+ # default: ''
1617
1718env :
1819 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11name : Restyled
22
33on :
4- pull_request :
4+ # DISABLED due to org policies
5+ # pull_request:
56
67concurrency :
78 group : ${{ github.workflow }}-${{ github.ref }}
You can’t perform that action at this time.
0 commit comments