mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
[9.20] chg: ci: 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 an error code, which makes this job fail. Let's check links only on Wednesdays. Backport of MR !10439 Merge branch 'backport-mnowak/run-linkchecker-only-sometimes-9.20' into 'bind-9.20' See merge request isc-projects/bind9!10440
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user