Create "other_checks_job" anchor in CI yaml

Use an anchor for the common parts of "other-checks" jobs in CI yaml.
This commit is contained in:
Andoni Duarte Pintado 2025-12-15 14:47:08 +01:00
parent 6d442c4a06
commit e61bc3ad72

View file

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