From e61bc3ad72d65b57ae2a96c25c944a04fa447454 Mon Sep 17 00:00:00 2001 From: Andoni Duarte Pintado Date: Mon, 15 Dec 2025 14:47:08 +0100 Subject: [PATCH] Create "other_checks_job" anchor in CI yaml Use an anchor for the common parts of "other-checks" jobs in CI yaml. --- .gitlab-ci.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2de433574..af423fea9f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -364,6 +364,12 @@ stages: tags: - smalljob +.other-check: &other_checks_job + <<: *default_triggering_rules + <<: *base_image + stage: other-checks + needs: [] + .configure: &configure - meson setup --libdir=lib @@ -1279,9 +1285,7 @@ gcc:trixie:amd64cross32: -o scan-build.reports ninja -C build scan-build: - <<: *default_triggering_rules - <<: *base_image - stage: other-checks + <<: *other_checks_job variables: CC: "${CLANG}" CFLAGS: "${CFLAGS_COMMON}" @@ -2045,8 +2049,7 @@ customer-git:tag: - grep -q 'Build successfully submitted' curl-response.txt coverity: - <<: *base_image - stage: other-checks + <<: *other_checks_job variables: CC: gcc CFLAGS: "${CFLAGS_COMMON}" @@ -2215,9 +2218,8 @@ stress-test-child-pipeline: # Simple reproductibilty test, needs an image with meson >=1.6.0 reproducible-build: - <<: *default_triggering_rules + <<: *other_checks_job <<: *alpine_3_23_amd64_image - stage: other-checks needs: [] variables: CC: gcc @@ -2242,8 +2244,7 @@ reproducible-build: # only in one branch, preferably "main". GitLab's clone strategy prevents us # from using the "bind9" repo clone; we need to clone it ourselves. fsck: - <<: *base_image - stage: other-checks + <<: *other_checks_job variables: GIT_STRATEGY: none script: @@ -2255,9 +2256,7 @@ fsck: needs: [] gcov: - <<: *base_image - <<: *default_triggering_rules - stage: other-checks + <<: *other_checks_job needs: - job: system:gcc:trixie:amd64 artifacts: true