Skip to content

Commit 4135b1c

Browse files
authored
CI: don't block the pipeline while waiting for a manual job (#555)
* CI: don't block the pipeline while waiting for a manual job * CI: ensure 'change' rule behaves appropriately When used in a new branch, `changes` always evaluates to true in the absence of a `compare_to` clause. This caused all our branch pipelines to happily run the build_ci_image which hide the blocked pipeline issue when this job is setup as manual.
1 parent 717ed10 commit 4135b1c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.gitlab-ci.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,12 @@ build_ci_image:
136136
--push \
137137
.
138138
rules:
139-
- changes: ["ci/Dockerfile"]
139+
- changes:
140+
paths:
141+
- "ci/Dockerfile"
142+
compare_to: 'main'
140143
- when: manual
144+
allow_failure: true
141145

142146
build_deb_x64:
143147
extends: [.build, .x64]

0 commit comments

Comments
 (0)