From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
Cc: "Willian Rampazzo" <willianr@redhat.com>,
"Thomas Huth" <thuth@redhat.com>,
"Daniel P . Berrangé" <berrange@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>
Subject: [PATCH 1/2] !fixup gitlab: add special rule for the hexagon container
Date: Tue, 25 May 2021 15:24:17 +0200 [thread overview]
Message-ID: <20210525132418.4133235-2-f4bug@amsat.org> (raw)
In-Reply-To: <20210525132418.4133235-1-f4bug@amsat.org>
Make the build-user-hexagon -> hexagon-cross-container optional
to avoid on mainstream CI [*]:
'build-user-hexagon' job needs 'hexagon-cross-container' job
but it was not added to the pipeline
[*] https://gitlab.com/qemu-project/qemu/-/pipelines/309137207
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
.gitlab-ci.d/containers.yml | 7 ++++---
.gitlab-ci.yml | 8 +++++---
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml
index 088c7e68c3b..59803453d50 100644
--- a/.gitlab-ci.d/containers.yml
+++ b/.gitlab-ci.d/containers.yml
@@ -106,9 +106,6 @@ armhf-debian-cross-container:
hexagon-cross-container:
image: docker:stable
stage: containers
- except:
- variables:
- - $CI_PROJECT_NAMESPACE == 'qemu-project'
variables:
NAME: debian-hexagon-cross
GIT_DEPTH: 1
@@ -127,6 +124,10 @@ hexagon-cross-container:
- docker push "$TAG"
after_script:
- docker logout
+ rules:
+ - if: '$CI_PROJECT_NAMESPACE == "qemu-project"'
+ when: never
+ - when: on_success
hppa-debian-cross-container:
extends: .container_job_template
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b2f929c758b..2b89143f81f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -417,12 +417,14 @@ build-user-static:
MAKE_CHECK_ARGS: check-tcg
# Because the hexagon cross-compiler takes so long to build we don't rely
-# on the CI system to build it and hence this job has no dependency
-# declared. The image is manually uploaded.
+# on the CI system to build it. The image is manually uploaded.
build-user-hexagon:
extends: .native_build_job_template
needs:
- job: hexagon-cross-container
+ - job: hexagon-cross-container
+ # Only forks have the hexagon-cross-container job,
+ # keep it optional for mainstream.
+ optional: true
variables:
IMAGE: debian-hexagon-cross
TARGETS: hexagon-linux-user
--
2.26.3
next prev parent reply other threads:[~2021-05-25 13:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-25 13:24 [PATCH 0/2] Fix for the 'testing, gdbstub and plugin updates' pull request Philippe Mathieu-Daudé
2021-05-25 13:24 ` Philippe Mathieu-Daudé [this message]
2021-05-26 16:20 ` [PATCH 1/2] !fixup gitlab: add special rule for the hexagon container Willian Rampazzo
2021-05-25 13:24 ` [PATCH 2/2] gitlab-ci: Convert check-dco/check-patch jobs to the 'rules' syntax Philippe Mathieu-Daudé
2021-05-26 16:25 ` Willian Rampazzo
2021-05-27 14:59 ` Alex Bennée
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=20210525132418.4133235-2-f4bug@amsat.org \
--to=f4bug@amsat.org \
--cc=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--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.