test: test link validation with retry

This commit is contained in:
Robert Kaussow 2022-11-03 13:56:25 +01:00
parent bcd2d3fdf7
commit 628689d784
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 5 additions and 1 deletions

View File

@ -56,6 +56,7 @@ local PipelineDocs = {
], ],
environment: { environment: {
LINK_VALIDATOR_BASE_DIR: 'public', LINK_VALIDATOR_BASE_DIR: 'public',
LINK_VALIDATOR_RETRIES: '3',
}, },
}, },
{ {

View File

@ -44,6 +44,7 @@ steps:
- link-validator --nice --external --skip-file .linkcheckignore - link-validator --nice --external --skip-file .linkcheckignore
environment: environment:
LINK_VALIDATOR_BASE_DIR: public LINK_VALIDATOR_BASE_DIR: public
LINK_VALIDATOR_RETRIES: 3
- name: build - name: build
image: thegeeklab/hugo:0.97.3 image: thegeeklab/hugo:0.97.3
@ -85,6 +86,6 @@ trigger:
--- ---
kind: signature kind: signature
hmac: 446b57f10122e64f67000e9d1319456425ef8b9472b4eaddc7da8ddc7814b9bb hmac: 91a8abe98608ac3c7a4f582f594772f8dddf49844a92449c886a8382a1d8b17d
... ...

View File

@ -7,3 +7,5 @@ You should not trust any container resource on the internet without verification
{{< /hint >}} {{< /hint >}}
This project provides documentations for custom Drone CI plugins maintained by us. As mentioned, all plugins listed here are custom Drone plugins and not officially supported by Drone. Therefor, **don't use the official Drone support channels** and report issues in the corresponding repositories instead. This project provides documentations for custom Drone CI plugins maintained by us. As mentioned, all plugins listed here are custom Drone plugins and not officially supported by Drone. Therefor, **don't use the official Drone support channels** and report issues in the corresponding repositories instead.
[Test broken link](http://localhost:91234).