ci: Guard pipeline on review stage
The first step is now review, as they use the tiny ci-fairy image, not our custom ones, so the guards should be on those, not the build step. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1588>
This commit is contained in:
parent
6b220c9c37
commit
78f43baa93
@ -66,16 +66,6 @@ workflow:
|
|||||||
- if: '$CI_COMMIT_BRANCH =~ /^gnome-[0-9-]+$/'
|
- if: '$CI_COMMIT_BRANCH =~ /^gnome-[0-9-]+$/'
|
||||||
- when: 'manual'
|
- when: 'manual'
|
||||||
|
|
||||||
build-fedora-container:
|
|
||||||
extends:
|
|
||||||
- .fdo.container-build@fedora@x86_64
|
|
||||||
- .mutter.fedora:33
|
|
||||||
stage: prepare
|
|
||||||
needs:
|
|
||||||
- check-commit-log
|
|
||||||
- check-merge-request
|
|
||||||
&pipline-guard
|
|
||||||
|
|
||||||
check-commit-log:
|
check-commit-log:
|
||||||
extends:
|
extends:
|
||||||
- .fdo.ci-fairy
|
- .fdo.ci-fairy
|
||||||
@ -90,6 +80,7 @@ check-commit-log:
|
|||||||
- commit-message-junit-report.xml
|
- commit-message-junit-report.xml
|
||||||
reports:
|
reports:
|
||||||
junit: commit-message-junit-report.xml
|
junit: commit-message-junit-report.xml
|
||||||
|
<<: *pipline-guard
|
||||||
|
|
||||||
check-merge-request:
|
check-merge-request:
|
||||||
extends:
|
extends:
|
||||||
@ -108,6 +99,16 @@ check-merge-request:
|
|||||||
- check-merge-request-report.xml
|
- check-merge-request-report.xml
|
||||||
reports:
|
reports:
|
||||||
junit: check-merge-request-report.xml
|
junit: check-merge-request-report.xml
|
||||||
|
<<: *pipline-guard
|
||||||
|
|
||||||
|
build-fedora-container:
|
||||||
|
extends:
|
||||||
|
- .fdo.container-build@fedora@x86_64
|
||||||
|
- .mutter.fedora:33
|
||||||
|
stage: prepare
|
||||||
|
needs:
|
||||||
|
- check-commit-log
|
||||||
|
- check-merge-request
|
||||||
|
|
||||||
build-mutter:
|
build-mutter:
|
||||||
extends:
|
extends:
|
||||||
|
Loading…
Reference in New Issue
Block a user