mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-21 14:17:27 -04: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:
parent
80a50dea46
commit
a1a7398e6c
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue