]> 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:52:57 +0000 (12:52 +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 e7badd993b4052ad560c183065b8006c01e89f2b..8d2815b4e7ac636349101270b09dfb1335c478ed 100644 (file)
@@ -830,7 +830,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)
 
@@ -846,7 +845,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