From b3ac6b47d9bd347a2a008cd834a8553d585e9308 Mon Sep 17 00:00:00 2001 From: Andoni Duarte Pintado Date: Mon, 15 Dec 2025 17:21:27 +0100 Subject: [PATCH] Group CI jobs in "quick-checks" stage together Move the jobs in the "quick-checks" stage to the same place in .gitlab-ci.yml. --- .gitlab-ci.yml | 70 +++++++++++++++++++++++++------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2430567ba30..96b84170760 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -819,6 +819,41 @@ mypy: script: - mypy "bin/tests/system/isctest/" +linkcheck: + <<: *quick_checks_job + script: + # Some domains tested by linkchecker may think that we connect to them too + # often and will refuse connection or reply with and error code, which + # makes this job fail. Let's check links only on Wednesdays. + - if [ "$(date +%w)" != "3" ]; then exit 0; fi + - pushd doc/arm/ > /dev/null && sphinx-build -b linkcheck . linkcheck_output/ + artifacts: + paths: + - doc/arm/linkcheck_output/ + rules: + - if: '$CI_PIPELINE_SOURCE == "schedule"' + needs: [] + +generate-stress-test-configs: + <<: *quick_checks_job + script: + - *git_clone_bind9-qa + - bind9-qa/stress/generate-stress-test-configs.py > stress-test-configs.yml + artifacts: + paths: + - stress-test-configs.yml + needs: [] + +generate-tsan-stress-test-configs: + <<: *quick_checks_job + script: + - util/generate-tsan-stress-jobs.py > tsan-stress-test-configs.yml + artifacts: + paths: + - tsan-stress-test-configs.yml + needs: [] + when: manual + # Jobs in the other-checks stage checkbashisms: @@ -992,21 +1027,6 @@ changelog: artifacts: untracked: true -linkcheck: - <<: *quick_checks_job - script: - # Some domains tested by linkchecker may think that we connect to them too - # often and will refuse connection or reply with and error code, which - # makes this job fail. Let's check links only on Wednesdays. - - if [ "$(date +%w)" != "3" ]; then exit 0; fi - - pushd doc/arm/ > /dev/null && sphinx-build -b linkcheck . linkcheck_output/ - artifacts: - paths: - - doc/arm/linkcheck_output/ - rules: - - if: '$CI_PIPELINE_SOURCE == "schedule"' - needs: [] - docs: <<: *default_triggering_rules <<: *base_image @@ -1669,16 +1689,6 @@ unit:clang:tsan: - job: clang:tsan artifacts: true -generate-tsan-stress-test-configs: - <<: *quick_checks_job - script: - - util/generate-tsan-stress-jobs.py > tsan-stress-test-configs.yml - artifacts: - paths: - - tsan-stress-test-configs.yml - needs: [] - when: manual - tsan:stress: <<: *default_triggering_rules stage: system @@ -2222,16 +2232,6 @@ shotgun:doh-get: # - *shotgun_rule_tag # - *shotgun_rule_other -generate-stress-test-configs: - <<: *quick_checks_job - script: - - *git_clone_bind9-qa - - bind9-qa/stress/generate-stress-test-configs.py > stress-test-configs.yml - artifacts: - paths: - - stress-test-configs.yml - needs: [] - stress-test-child-pipeline: <<: *default_triggering_rules stage: performance -- 2.47.3