From d2b983195061bbef892a27fb4cc532e73f609b55 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. (cherry picked from commit e61bc3ad72d65b57ae2a96c25c944a04fa447454) --- .gitlab-ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a532df6f02..c980a82a78 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: [] + .autoconf: &autoconf_job <<: *default_triggering_rules <<: *base_image @@ -1326,9 +1332,7 @@ gcc:trixie:amd64cross32: -o scan-build.reports make -j${BUILD_PARALLEL_JOBS:-1} all V=1 scan-build: - <<: *default_triggering_rules - <<: *base_image - stage: other-checks + <<: *other_checks_job variables: CC: "${CLANG}" CFLAGS: "${CFLAGS_COMMON}" @@ -2138,8 +2142,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} -Og" @@ -2311,8 +2314,7 @@ stress-test-child-pipeline: # 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: @@ -2324,9 +2326,7 @@ fsck: needs: [] gcov: - <<: *base_image - <<: *default_triggering_rules - stage: other-checks + <<: *other_checks_job needs: - job: system:gcc:trixie:amd64 artifacts: true