0
0
mirror of https://github.com/thegeeklab/woodpecker-plugins.git synced 2024-11-24 22:10:39 +00:00

ci: add rate limit to link check

This commit is contained in:
Robert Kaussow 2022-11-04 10:19:44 +01:00
parent 773244d354
commit 865bd9aed3
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ local PipelineDocs = {
name: 'link-validation', name: 'link-validation',
image: 'thegeeklab/link-validator', image: 'thegeeklab/link-validator',
commands: [ commands: [
'link-validator --color=always', 'link-validator --color=always --rate-limit 10',
], ],
environment: { environment: {
LINK_VALIDATOR_BASE_DIR: 'public', LINK_VALIDATOR_BASE_DIR: 'public',

View File

@ -41,7 +41,7 @@ steps:
- name: link-validation - name: link-validation
image: thegeeklab/link-validator image: thegeeklab/link-validator
commands: commands:
- link-validator --color=always - link-validator --color=always --rate-limit 10
environment: environment:
LINK_VALIDATOR_BASE_DIR: public LINK_VALIDATOR_BASE_DIR: public
LINK_VALIDATOR_RETRIES: 3 LINK_VALIDATOR_RETRIES: 3
@ -86,6 +86,6 @@ trigger:
--- ---
kind: signature kind: signature
hmac: 762affa3cc3a798cc7175b17e9831a22549a54d9ff6b599e03c223aef5d1d51a hmac: 541c0951ef21b82961d09fb5b167a80ab30084d517d1c7cd405e37340c5fdbe3
... ...