]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Run linkchecker only on Wednesdays
authorMichal Nowak <mnowak@isc.org>
Mon, 5 May 2025 10:57:47 +0000 (12:57 +0200)
committerMichal Nowak <mnowak@isc.org>
Mon, 5 May 2025 14:35:58 +0000 (16:35 +0200)
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.

.gitlab-ci.yml

index d5afdd42f7f51eaf929a93a31f021e427c7af2eb..3fc91fe1d387ebdafdf5c8818a625199c4f2ebca 100644 (file)
@@ -723,6 +723,10 @@ linkcheck:
   <<: *base_image
   stage: docs
   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: