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 e61bc3ad72)
This commit is contained in:
Andoni Duarte Pintado 2025-12-15 14:47:08 +01:00 committed by Michał Kępień
parent 18b8517350
commit d2b9831950
No known key found for this signature in database

View file

@ -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