ci: switch to linkchecker (#224)

This commit is contained in:
Robert Kaussow 2022-05-21 13:21:04 +02:00 committed by GitHub
parent d027290d2a
commit a28f918888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 6 deletions

View File

@ -343,14 +343,14 @@ local PipelineDocs = {
name: 'testbuild', name: 'testbuild',
image: 'thegeeklab/hugo:0.97.3', image: 'thegeeklab/hugo:0.97.3',
commands: [ commands: [
'hugo --panicOnWarning -s docs/ -b http://localhost/', 'hugo --panicOnWarning -s docs/ -b http://localhost:8000/',
], ],
}, },
{ {
name: 'link-validation', name: 'link-validation',
image: 'thegeeklab/link-validator', image: 'thegeeklab/link-validator',
commands: [ commands: [
'link-validator -ro', 'link-validator --nice --external --skip-file .linkcheckignore',
], ],
environment: { environment: {
LINK_VALIDATOR_BASE_DIR: 'docs/public', LINK_VALIDATOR_BASE_DIR: 'docs/public',

View File

@ -501,12 +501,12 @@ steps:
- name: testbuild - name: testbuild
image: thegeeklab/hugo:0.97.3 image: thegeeklab/hugo:0.97.3
commands: commands:
- hugo --panicOnWarning -s docs/ -b http://localhost/ - hugo --panicOnWarning -s docs/ -b http://localhost:8000/
- name: link-validation - name: link-validation
image: thegeeklab/link-validator image: thegeeklab/link-validator
commands: commands:
- link-validator -ro - link-validator --nice --external --skip-file .linkcheckignore
environment: environment:
LINK_VALIDATOR_BASE_DIR: docs/public LINK_VALIDATOR_BASE_DIR: docs/public
@ -649,6 +649,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: bdcf6316a232376f879e282922dd5f0749f005a896d77495049bfdc0eb36fdbf hmac: a170f08b24fc32f27120ac195409820fb0f6273d0a6819008f8a52bf926176ba
... ...

1
.gitignore vendored
View File

@ -106,6 +106,7 @@ pip-wheel-metadata
docs/themes/ docs/themes/
docs/public/ docs/public/
resources/_gen/ resources/_gen/
.hugo_build.lock
# Misc # Misc
CHANGELOG.md CHANGELOG.md

0
.linkcheckignore Normal file
View File

View File

@ -45,7 +45,7 @@ The following list of meta labels can be used to relabel your scrape results:
### File service discovery ### File service discovery
Prometheus needs a basic file service discovery configuration to fetch system metrics from the host's discovered from PVE. Depending on the used metrics exporter the configuration need to be adjusted, using [Telegraf](https://github.com/influxdata/telegraf/#telegraf) a starter configuration might look like this: Prometheus needs a basic file service discovery configuration to fetch system metrics from the host's discovered from PVE. Depending on the used metrics exporter the configuration need to be adjusted, using [Telegraf](https://github.com/influxdata/telegraf/) a starter configuration might look like this:
```YAML ```YAML
- file_sd_configs: - file_sd_configs: