From 5b087d8964259f4f2b67bc0e5d6170e73d7279ec Mon Sep 17 00:00:00 2001 From: Andoni Duarte Pintado Date: Fri, 19 Dec 2025 11:55:30 +0100 Subject: [PATCH] Move "needs: []" to the "quick_checks_job" anchor Most jobs in this stage have it by default, so it makes sense to add it to their common anchor. Jobs with different "needs:" will override it. (cherry picked from commit 432b7d7954bc37175c5db20c2f5894214ca0661d) --- .gitlab-ci.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 30734d6888..3f8450a101 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -361,6 +361,7 @@ stages: <<: *default_triggering_rules <<: *base_image stage: quick-checks + needs: [] tags: - smalljob @@ -689,7 +690,6 @@ misc: - bash util/unused-headers.sh # Check dangling symlinks in the repository - if find . -xtype l | grep .; then exit 1; fi - needs: [] artifacts: paths: - checklibs.out @@ -698,7 +698,6 @@ misc: black: <<: *quick_checks_job <<: *python_triggering_rules - needs: [] script: - black $(git ls-files '*.py') - git diff > black.patch @@ -712,7 +711,6 @@ black: vulture: <<: *quick_checks_job <<: *python_triggering_rules - needs: [] script: - vulture --exclude "*ans.py,conftest.py,re_compile_checker.py,isctest" --ignore-names "after_servers_start,bootstrap,pytestmark,autouse_*" bin/tests/system/ @@ -737,7 +735,6 @@ ci-orphaned-anchors: script: - *git_clone_bind9-qa - bind9-qa/ci-orphaned-anchors/check-orphaned-anchors-ci.py .gitlab-ci.yml - needs: [] rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' changes: @@ -755,7 +752,6 @@ clang-format: - *rule_mr_manual - *rule_tag - *rule_source_other_than_mr - needs: [] script: - if [ -r .clang-format ]; then "${CLANG_FORMAT}" -i -style=file $(git ls-files '*.c' '*.h'); fi - git diff > clang-format.patch @@ -798,7 +794,6 @@ doctest: pylint: <<: *quick_checks_job <<: *python_triggering_rules - needs: [] variables: PYTHONPATH: "${CI_PROJECT_DIR}/bin/tests/system" script: @@ -808,7 +803,6 @@ pylint: reuse: <<: *quick_checks_job - needs: [] image: name: docker.io/fsfe/reuse:latest entrypoint: [""] @@ -818,7 +812,6 @@ reuse: shfmt: <<: *quick_checks_job <<: *shell_triggering_rules - needs: [] script: - shfmt -w -i 2 -ci -bn . $(find . -name "*.sh.in") - git diff > shfmt.patch @@ -831,7 +824,6 @@ shfmt: danger: <<: *quick_checks_job - needs: [] script: - pip install git+https://gitlab.isc.org/isc-projects/hazard.git - hazard @@ -857,7 +849,6 @@ linkcheck: - doc/arm/linkcheck_output/ rules: - if: '$CI_PIPELINE_SOURCE == "schedule"' - needs: [] generate-stress-test-configs: <<: *quick_checks_job @@ -867,7 +858,6 @@ generate-stress-test-configs: artifacts: paths: - stress-test-configs.yml - needs: [] generate-tsan-stress-test-configs: <<: *quick_checks_job @@ -876,7 +866,6 @@ generate-tsan-stress-test-configs: artifacts: paths: - tsan-stress-test-configs.yml - needs: [] when: manual # Jobs in the other-checks stage