]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
De-duplicate yaml for "other-checks" jobs
authorAndoni Duarte Pintado <andoni@isc.org>
Tue, 13 Jan 2026 15:32:45 +0000 (16:32 +0100)
committerMichał Kępień <michal@isc.org>
Fri, 23 Jan 2026 11:50:50 +0000 (12:50 +0100)
In .gitlab-ci.yml, since "&other_checks_job" has "needs: []", remove
that line from the jobs that use that anchor.

(cherry picked from commit 66175b448cbc0db5b26095dae47333549e82c325)

.gitlab-ci.yml

index 3f8450a1010ccb57f3bd186a521c74bdde32d15c..9927d8f46b8889180ae6e26f978734604047f7c2 100644 (file)
@@ -873,7 +873,6 @@ generate-tsan-stress-test-configs:
 checkbashisms:
   <<: *other_checks_job
   <<: *shell_triggering_rules
-  needs: []
   script:
     - checkbashisms $(find . -path './.git' -prune -o -type f -exec sh -c 'head -n 1 "{}" | grep -qsF "#!/bin/sh"' \; -print)
 
@@ -889,7 +888,6 @@ coccinelle:
     - *rule_mr_manual
     - *rule_tag
     - *rule_source_other_than_mr
-  needs: []
   script:
     - util/check-cocci.sh
     - if test "$(git status --porcelain | grep -Ev '\?\?' | wc -l)" -gt "0"; then git status --short; exit 1; fi
@@ -986,7 +984,6 @@ fsck:
     - git fsck
   rules:
     - if: '$CI_PIPELINE_SOURCE == "schedule"'
-  needs: []
 
 tarball-create:
   <<: *build_job