mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-24 18:30:40 +00:00
ci: switch to linkchecker (#224)
This commit is contained in:
parent
d027290d2a
commit
a28f918888
@ -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',
|
||||||
|
@ -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
1
.gitignore
vendored
@ -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
0
.linkcheckignore
Normal 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user