Skip to content

Commit 7b7ab2d

Browse files
committed
gitlab-ci: Mark manual-only jobs as allow_failure
If a gitlab CI job is marked as manual-only but is not marked as allow_failure, then gitlab considers that the pipeline is "blocked" until the job has been manually triggered. We need to mark these manual-only jobs as also allow_failure: true so that gitlab doesn't insist that they have run before it will consider the pipeline to be complete. Fixes: 4c9af1e Signed-off-by: Peter Maydell <[email protected]> Reviewed-by: Daniel P. Berrangé <[email protected]> Message-id: [email protected] Acked-by: Thomas Huth <[email protected]> Reviewed-by: Willian Rampazzo <[email protected]>
1 parent 0b6206b commit 7b7ab2d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.gitlab-ci.d/custom-runners.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ ubuntu-18.04-s390x-alldbg:
6060
rules:
6161
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
6262
when: manual
63+
allow_failure: true
6364
- if: "$S390X_RUNNER_AVAILABLE"
6465
when: manual
66+
allow_failure: true
6567
script:
6668
- mkdir build
6769
- cd build
@@ -79,8 +81,10 @@ ubuntu-18.04-s390x-clang:
7981
rules:
8082
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
8183
when: manual
84+
allow_failure: true
8285
- if: "$S390X_RUNNER_AVAILABLE"
8386
when: manual
87+
allow_failure: true
8488
script:
8589
- mkdir build
8690
- cd build
@@ -97,8 +101,10 @@ ubuntu-18.04-s390x-tci:
97101
rules:
98102
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
99103
when: manual
104+
allow_failure: true
100105
- if: "$S390X_RUNNER_AVAILABLE"
101106
when: manual
107+
allow_failure: true
102108
script:
103109
- mkdir build
104110
- cd build
@@ -114,8 +120,10 @@ ubuntu-18.04-s390x-notcg:
114120
rules:
115121
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
116122
when: manual
123+
allow_failure: true
117124
- if: "$S390X_RUNNER_AVAILABLE"
118125
when: manual
126+
allow_failure: true
119127
script:
120128
- mkdir build
121129
- cd build
@@ -154,8 +162,10 @@ ubuntu-20.04-aarch64-all:
154162
rules:
155163
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
156164
when: manual
165+
allow_failure: true
157166
- if: "$AARCH64_RUNNER_AVAILABLE"
158167
when: manual
168+
allow_failure: true
159169
script:
160170
- mkdir build
161171
- cd build
@@ -189,8 +199,10 @@ ubuntu-20.04-aarch64-clang:
189199
rules:
190200
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
191201
when: manual
202+
allow_failure: true
192203
- if: "$AARCH64_RUNNER_AVAILABLE"
193204
when: manual
205+
allow_failure: true
194206
script:
195207
- mkdir build
196208
- cd build
@@ -207,8 +219,10 @@ ubuntu-20.04-aarch64-tci:
207219
rules:
208220
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
209221
when: manual
222+
allow_failure: true
210223
- if: "$AARCH64_RUNNER_AVAILABLE"
211224
when: manual
225+
allow_failure: true
212226
script:
213227
- mkdir build
214228
- cd build
@@ -224,8 +238,10 @@ ubuntu-20.04-aarch64-notcg:
224238
rules:
225239
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
226240
when: manual
241+
allow_failure: true
227242
- if: "$AARCH64_RUNNER_AVAILABLE"
228243
when: manual
244+
allow_failure: true
229245
script:
230246
- mkdir build
231247
- cd build

0 commit comments

Comments
 (0)