]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Create "other_checks_job" anchor in CI yaml
authorAndoni Duarte Pintado <andoni@isc.org>
Mon, 15 Dec 2025 13:47:08 +0000 (14:47 +0100)
committerMichał Kępień <michal@isc.org>
Fri, 23 Jan 2026 11:52:57 +0000 (12:52 +0100)
Use an anchor for the common parts of "other-checks" jobs in CI yaml.

(cherry picked from commit e61bc3ad72d65b57ae2a96c25c944a04fa447454)

.gitlab-ci.yml

index d1d580aaa9ab822bb1d00962b288bc86db999609..b65a2edf15fbb6160a6989a7429b80ea0b8ec36f 100644 (file)
@@ -335,6 +335,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
@@ -1185,9 +1191,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}"
@@ -1953,8 +1957,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"
@@ -2125,9 +2128,7 @@ stress-test-child-pipeline:
       artifacts: true
 
 gcov:
-  <<: *base_image
-  <<: *default_triggering_rules
-  stage: other-checks
+  <<: *other_checks_job
   needs:
     - job: system:gcc:trixie:amd64
       artifacts: true