From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: qemu-devel@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>,
qemu-s390x@nongnu.org, "Zhao Liu" <zhao1.liu@intel.com>,
"Kohei Tokunaga" <ktokunaga.mail@gmail.com>,
"Sriram Yagnaraman" <sriram.yagnaraman@ericsson.com>,
"Ed Maste" <emaste@freebsd.org>, "Paul Durrant" <paul@xen.org>,
"David Woodhouse" <dwmw2@infradead.org>,
"Akihiko Odaki" <odaki@rsg.ci.i.u-tokyo.ac.jp>,
qemu-arm@nongnu.org, "Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Li-Wen Hsu" <lwhsu@freebsd.org>,
"Thomas Huth" <thuth@redhat.com>,
"Dmitry Osipenko" <dmitry.osipenko@collabora.com>,
"BALATON Zoltan" <balaton@eik.bme.hu>,
"Gustavo Romero" <gustavo.romero@linaro.org>
Subject: Re: [PATCH 13/16] gitlab: use template for ubuntu-24.04-s390x jobs
Date: Tue, 11 Nov 2025 17:44:26 +0000 [thread overview]
Message-ID: <aRN1-tuthanSX4pD@redhat.com> (raw)
In-Reply-To: <20251111171724.78201-14-alex.bennee@linaro.org>
On Tue, Nov 11, 2025 at 05:17:20PM +0000, Alex Bennée wrote:
> Most of the test is pure boilerplate so to save ourselves from
> repetition move all the main bits into a minimal copy of
> native_build_job_template but without the caching.
>
> We keep all the current allow_fail and configure setups but do take
> the opportunity to replace the inline nproc calls to using a common
> JOBS variable.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> .../custom-runners/ubuntu-24.04-s390x.yml | 181 +++++++-----------
> 1 file changed, 66 insertions(+), 115 deletions(-)
>
> diff --git a/.gitlab-ci.d/custom-runners/ubuntu-24.04-s390x.yml b/.gitlab-ci.d/custom-runners/ubuntu-24.04-s390x.yml
> index 45dbee17880..ef8db2750ac 100644
> --- a/.gitlab-ci.d/custom-runners/ubuntu-24.04-s390x.yml
> +++ b/.gitlab-ci.d/custom-runners/ubuntu-24.04-s390x.yml
> @@ -2,129 +2,80 @@
> # setup by the scripts/ci/setup/ubuntu/build-environment.yml task
> # "Install basic packages to build QEMU on Ubuntu 24.04"
>
> +.ubuntu_s390x_template:
> + extends: .custom_runner_template
> + needs: []
> + stage: build
> + tags:
> + - ubuntu_24.04
> + - s390x
> + rules:
> + - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
> + - if: "$S390X_RUNNER_AVAILABLE"
These rules mean the jobs always run if those three envs
are satisified, however....
> ubuntu-24.04-s390x-alldbg:
> - extends: .custom_runner_template
> - needs: []
> - stage: build
> - tags:
> - - ubuntu_24.04
> - - s390x
> - 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
...this job...
> ubuntu-24.04-s390x-clang:
> - extends: .custom_runner_template
> - needs: []
> - stage: build
> - tags:
> - - ubuntu_24.04
> - - s390x
> - 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
...this job..
> ubuntu-24.04-s390x-tci:
> - needs: []
> - stage: build
> - tags:
> - - ubuntu_24.04
> - - s390x
> - 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
...this job...
> ubuntu-24.04-s390x-notcg:
> - extends: .custom_runner_template
> - needs: []
> - stage: build
> - tags:
> - - ubuntu_24.04
> - - s390x
> - 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
...and this job, would never get run by default even if the env vars
were satisfied. It would require someone to hit the 'run' button in
the CI web pages. Now with this commit, these 4 manual jobs are run
unconditionally every time. IOW, pipelines now trigger 6 s390x
jobs instead of 2 jobs, and 4 opt-in jobs.
If that is intentional, IMHO, there should have been a prior commit
that removed the 'when: manual' stanza from all these jobs, so that
this commit was pure re-factoring with no functional change in job
behaviour.
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2025-11-11 17:45 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-11 17:17 [PATCH 00/16] testing/next cleanups (docker, functional) Alex Bennée
2025-11-11 17:17 ` [PATCH 01/16] tests/docker: drop --link from COPYs in emsdk docker Alex Bennée
2025-11-12 15:23 ` Kohei Tokunaga
2025-11-11 17:17 ` [PATCH 02/16] libvirt-ci: bump libvirt-ci to latest version Alex Bennée
2025-11-11 17:34 ` Daniel P. Berrangé
2025-11-11 17:17 ` [PATCH 03/16] tests/lcitool: update ENV stazas outputted by refresh Alex Bennée
2025-11-11 17:35 ` Daniel P. Berrangé
2025-11-11 17:17 ` [PATCH 04/16] tests/docker: add coreutils to the package list Alex Bennée
2025-11-11 17:36 ` Daniel P. Berrangé
2025-11-11 17:17 ` [PATCH 05/16] gitlab: add initial ppc64le custom-runner test Alex Bennée
2025-11-11 17:38 ` Daniel P. Berrangé
2025-11-11 17:17 ` [PATCH 06/16] docs/about/emulation: update assets for uftrace plugin documentation Alex Bennée
2025-11-12 1:38 ` Akihiko Odaki
2025-11-12 9:54 ` Alex Bennée
2025-11-12 10:15 ` Akihiko Odaki
2025-11-21 7:44 ` Philippe Mathieu-Daudé
2025-11-21 14:27 ` Pierrick Bouvier
2025-11-11 17:17 ` [PATCH 07/16] tests: move test_xen assets to share.linaro.org Alex Bennée
2025-11-11 18:01 ` Thomas Huth
2025-11-11 17:17 ` [PATCH 08/16] tests: move test_virt " Alex Bennée
2025-11-11 18:02 ` Thomas Huth
2025-11-11 17:17 ` [PATCH 09/16] tests: move test_netdev_ethtool " Alex Bennée
2025-11-11 18:10 ` Thomas Huth
2025-11-11 17:17 ` [PATCH 10/16] tests: move test_kvm_xen " Alex Bennée
2025-11-11 18:11 ` Thomas Huth
2025-11-11 17:17 ` [PATCH 11/16] tests: move test_kvm " Alex Bennée
2025-11-11 18:13 ` Thomas Huth
2025-11-11 17:17 ` [PATCH 12/16] tests: move test_virt_gpu " Alex Bennée
2025-11-11 18:00 ` Thomas Huth
2025-11-11 17:17 ` [PATCH 13/16] gitlab: use template for ubuntu-24.04-s390x jobs Alex Bennée
2025-11-11 17:44 ` Daniel P. Berrangé [this message]
2025-11-11 17:17 ` [PATCH 14/16] gitlab: suppress custom runners being triggered by schedule Alex Bennée
2025-11-11 17:47 ` Daniel P. Berrangé
2025-11-11 17:17 ` [PATCH 15/16] gitlab: make the schedule rules a bit more general Alex Bennée
2025-11-11 17:50 ` Daniel P. Berrangé
2025-11-11 17:17 ` [PATCH 16/16] gitlab: add a weekly container building job Alex Bennée
2025-11-11 17:49 ` Daniel P. Berrangé
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=aRN1-tuthanSX4pD@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=balaton@eik.bme.hu \
--cc=dmitry.osipenko@collabora.com \
--cc=dwmw2@infradead.org \
--cc=emaste@freebsd.org \
--cc=gustavo.romero@linaro.org \
--cc=ktokunaga.mail@gmail.com \
--cc=lwhsu@freebsd.org \
--cc=odaki@rsg.ci.i.u-tokyo.ac.jp \
--cc=paul@xen.org \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=sriram.yagnaraman@ericsson.com \
--cc=thuth@redhat.com \
--cc=zhao1.liu@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).