зеркало из https://github.com/mozilla/fxa.git
bug(ci): Fix test_and_deploy_tag workflow
Because: - Not all jobs were running in the test_and_deploy_tag This Commit: - Adds filter configs to each job. This typically isn't necessary, but since we ignore all branches, in this case it is.
This commit is contained in:
Родитель
9d06e4e7b1
Коммит
4b05dfea94
|
@ -167,8 +167,8 @@ commands:
|
|||
git fetch https://github.com/mozilla/fxa << pipeline.git.revision >> --depth=1
|
||||
fi
|
||||
|
||||
git checkout << pipeline.git.revision >>
|
||||
git reset --hard
|
||||
git checkout << pipeline.git.revision >>
|
||||
|
||||
commitsBehind=$(git rev-list --left-only --count main...HEAD);
|
||||
if [[ $((commitsBehind)) > 0 ]]; then
|
||||
|
@ -832,66 +832,126 @@ workflows:
|
|||
only: /.*/
|
||||
- lint:
|
||||
name: Lint
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
requires:
|
||||
- Build
|
||||
- unit-test:
|
||||
name: Unit Test
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
requires:
|
||||
- Build
|
||||
- integration-test-part:
|
||||
name: Integration Test 1
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
index: 0
|
||||
total: 3
|
||||
requires:
|
||||
- Build
|
||||
- integration-test-part:
|
||||
name: Integration Test 2
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
index: 1
|
||||
total: 3
|
||||
requires:
|
||||
- Build
|
||||
- integration-test-part:
|
||||
name: Integration Test 3
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
index: 2
|
||||
total: 3
|
||||
requires:
|
||||
- Build
|
||||
- test-content-server-part:
|
||||
name: Functional Test - Content 1
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
index: 0
|
||||
total: 5
|
||||
requires:
|
||||
- Build
|
||||
- test-content-server-part:
|
||||
name: Functional Test - Content 2
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
index: 1
|
||||
total: 5
|
||||
requires:
|
||||
- Build
|
||||
- test-content-server-part:
|
||||
name: Functional Test - Content 3
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
index: 2
|
||||
total: 5
|
||||
requires:
|
||||
- Build
|
||||
- test-content-server-part:
|
||||
name: Functional Test - Content 4
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
index: 3
|
||||
total: 5
|
||||
requires:
|
||||
- Build
|
||||
- test-content-server-part:
|
||||
name: Functional Test - Content 5
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
index: 4
|
||||
total: 5
|
||||
requires:
|
||||
- Build
|
||||
- playwright-functional-tests:
|
||||
name: Functional Tests - Playwright
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
requires:
|
||||
- Build
|
||||
- deploy-packages:
|
||||
name: FXA
|
||||
name: Deploy FXA
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /.*/
|
||||
requires:
|
||||
- Lint
|
||||
- Unit Test
|
||||
|
|
Загрузка…
Ссылка в новой задаче