From a1a7398e6cb41f5cb6e984e12174136723bcdd3e Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Mon, 5 May 2025 12:57:47 +0200 Subject: [PATCH] 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) --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f0aa417c78..2cd9e116c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -735,6 +735,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: