2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Run linkchecker only on Wednesdays

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.

(cherry picked from commit f745a9212a)
This commit is contained in:
Michal Nowak
2025-05-05 12:57:47 +02:00
parent 80a50dea46
commit a1a7398e6c

View File

@@ -735,6 +735,10 @@ linkcheck:
<<: *base_image <<: *base_image
stage: docs stage: docs
script: 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/ - pushd doc/arm/ > /dev/null && sphinx-build -b linkcheck . linkcheck_output/
artifacts: artifacts:
paths: paths: