From: "Daniel P. Berrangé" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
"Daniel P. Berrangé" <berrange@redhat.com>
Subject: [PATCH v2 2/6] gitlab: move .meson_job_template into base.yaml
Date: Wed, 24 Jun 2026 13:46:53 +0100 [thread overview]
Message-ID: <20260624124657.2725376-3-berrange@redhat.com> (raw)
In-Reply-To: <20260624124657.2725376-1-berrange@redhat.com>
Rename .meson_job_template to .base_meson_job_template and move
it into base.yml, in prep for wider reuse.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
.gitlab-ci.d/base.yml | 14 ++++++++++++++
.gitlab-ci.d/buildtest-template.yml | 20 +++-----------------
2 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/.gitlab-ci.d/base.yml b/.gitlab-ci.d/base.yml
index 72eadc8073..dc36a1ca11 100644
--- a/.gitlab-ci.d/base.yml
+++ b/.gitlab-ci.d/base.yml
@@ -129,3 +129,17 @@ variables:
QEMU_CI_CONTAINER_TAG: $CI_COMMIT_REF_SLUG
- when: on_success
+
+# Any job running meson should capture meson logs
+# by default. Some jobs might override the artifacts
+# to capture further files
+.base_meson_job_template:
+ extends: .base_job_template
+ artifacts:
+ name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
+ when: always
+ expire_in: 7 days
+ paths:
+ - build/meson-logs
+ reports:
+ junit: build/meson-logs/*.junit.xml
diff --git a/.gitlab-ci.d/buildtest-template.yml b/.gitlab-ci.d/buildtest-template.yml
index 005058625e..0fa2351d87 100644
--- a/.gitlab-ci.d/buildtest-template.yml
+++ b/.gitlab-ci.d/buildtest-template.yml
@@ -1,20 +1,6 @@
-# Any job running meson should capture meson logs
-# by default. Some jobs might override the artifacts
-# to capture further files
-.meson_job_template:
- extends: .base_job_template
- artifacts:
- name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
- when: always
- expire_in: 7 days
- paths:
- - build/meson-logs
- reports:
- junit: build/meson-logs/*.junit.xml
-
.native_build_job_template:
- extends: .meson_job_template
+ extends: .base_meson_job_template
stage: build
image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:$QEMU_CI_CONTAINER_TAG
cache:
@@ -75,7 +61,7 @@
- build/**/*.c.o.d
.common_test_job_template:
- extends: .meson_job_template
+ extends: .base_meson_job_template
stage: test
image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:$QEMU_CI_CONTAINER_TAG
script:
@@ -133,7 +119,7 @@
QEMU_JOB_FUNCTIONAL: 1
.wasm_build_job_template:
- extends: .meson_job_template
+ extends: .base_meson_job_template
stage: build
image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:$QEMU_CI_CONTAINER_TAG
before_script:
--
2.54.0
next prev parent reply other threads:[~2026-06-24 12:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-24 12:46 [PATCH v2 0/6] gitlab: expose more info about CI runner environment as artifacts Daniel P. Berrangé
2026-06-24 12:46 ` [PATCH v2 1/6] gitlab: remove unused .cross_test_artifacts template Daniel P. Berrangé
2026-06-24 13:03 ` Philippe Mathieu-Daudé
2026-06-24 16:56 ` Pierrick Bouvier
2026-06-24 12:46 ` Daniel P. Berrangé [this message]
2026-06-24 16:56 ` [PATCH v2 2/6] gitlab: move .meson_job_template into base.yaml Pierrick Bouvier
2026-06-24 12:46 ` [PATCH v2 3/6] gitlab: use .base_meson_job_template from crossbuild jobs Daniel P. Berrangé
2026-06-24 16:56 ` Pierrick Bouvier
2026-06-24 12:46 ` [PATCH v2 4/6] gitlab: pull ccache setup into .base_meson_ccache_job_template Daniel P. Berrangé
2026-06-24 16:57 ` Pierrick Bouvier
2026-06-24 12:46 ` [PATCH v2 5/6] gitlab: pull before_script logic into .base_meson_job_template Daniel P. Berrangé
2026-06-24 16:58 ` Pierrick Bouvier
2026-06-24 12:46 ` [PATCH v2 6/6] gitlab: greatly expand captured info about CI runner environment Daniel P. Berrangé
2026-06-24 16:58 ` Pierrick Bouvier
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=20260624124657.2725376-3-berrange@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-devel@nongnu.org \
/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.