From: Michal Nowak Date: Mon, 5 May 2025 10:57:47 +0000 (+0200) Subject: Run linkchecker only on Wednesdays X-Git-Tag: v9.18.37~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e95941741578b0fbf0b368b765cc4c35321e4b7;p=thirdparty%2Fbind9.git 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 f745a9212a3cb5d938a418a294955886d90e268c) --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 12bdfbd3eac..98d20ce6370 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -730,6 +730,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: