From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Thomas Huth" <thuth@redhat.com>,
"Daniel P. Berrange" <berrange@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Willian Rampazzo" <willianr@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: [PATCH] gitlab-ci: Mark manual-only jobs as allow_failure
Date: Wed, 15 Sep 2021 13:34:12 +0100 [thread overview]
Message-ID: <20210915123412.8232-1-peter.maydell@linaro.org> (raw)
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: 4c9af1ea1457782cf0adb29
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
.gitlab-ci.d/custom-runners.yml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/.gitlab-ci.d/custom-runners.yml b/.gitlab-ci.d/custom-runners.yml
index bcd22ca293c..a89a20da48d 100644
--- a/.gitlab-ci.d/custom-runners.yml
+++ b/.gitlab-ci.d/custom-runners.yml
@@ -60,8 +60,10 @@ ubuntu-18.04-s390x-alldbg:
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
when: manual
+ allow_failure: true
- if: "$S390X_RUNNER_AVAILABLE"
when: manual
+ allow_failure: true
script:
- mkdir build
- cd build
@@ -79,8 +81,10 @@ ubuntu-18.04-s390x-clang:
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
when: manual
+ allow_failure: true
- if: "$S390X_RUNNER_AVAILABLE"
when: manual
+ allow_failure: true
script:
- mkdir build
- cd build
@@ -97,8 +101,10 @@ ubuntu-18.04-s390x-tci:
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
when: manual
+ allow_failure: true
- if: "$S390X_RUNNER_AVAILABLE"
when: manual
+ allow_failure: true
script:
- mkdir build
- cd build
@@ -114,8 +120,10 @@ ubuntu-18.04-s390x-notcg:
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
when: manual
+ allow_failure: true
- if: "$S390X_RUNNER_AVAILABLE"
when: manual
+ allow_failure: true
script:
- mkdir build
- cd build
@@ -154,8 +162,10 @@ ubuntu-20.04-aarch64-all:
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
when: manual
+ allow_failure: true
- if: "$AARCH64_RUNNER_AVAILABLE"
when: manual
+ allow_failure: true
script:
- mkdir build
- cd build
@@ -189,8 +199,10 @@ ubuntu-20.04-aarch64-clang:
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
when: manual
+ allow_failure: true
- if: "$AARCH64_RUNNER_AVAILABLE"
when: manual
+ allow_failure: true
script:
- mkdir build
- cd build
@@ -207,8 +219,10 @@ ubuntu-20.04-aarch64-tci:
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
when: manual
+ allow_failure: true
- if: "$AARCH64_RUNNER_AVAILABLE"
when: manual
+ allow_failure: true
script:
- mkdir build
- cd build
@@ -224,8 +238,10 @@ ubuntu-20.04-aarch64-notcg:
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
when: manual
+ allow_failure: true
- if: "$AARCH64_RUNNER_AVAILABLE"
when: manual
+ allow_failure: true
script:
- mkdir build
- cd build
--
2.20.1
next reply other threads:[~2021-09-15 12:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-15 12:34 Peter Maydell [this message]
2021-09-15 12:35 ` [PATCH] gitlab-ci: Mark manual-only jobs as allow_failure Daniel P. Berrangé
2021-09-15 14:01 ` Thomas Huth
2021-09-15 14:03 ` Willian Rampazzo
2021-09-15 15:42 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210915123412.8232-1-peter.maydell@linaro.org \
--to=peter.maydell@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=f4bug@amsat.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=wainersm@redhat.com \
--cc=willianr@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.