prometheus-pve-sd/.woodpecker/docs.yml

101 lines
2.4 KiB
YAML
Raw Permalink Normal View History

2023-08-24 20:14:30 +00:00
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: assets
2023-08-24 20:14:30 +00:00
image: quay.io/thegeeklab/alpine-tools
commands:
- make doc
- name: markdownlint
2023-08-24 20:14:30 +00:00
image: quay.io/thegeeklab/markdownlint-cli
group: test
2023-08-24 20:14:30 +00:00
commands:
- markdownlint 'README.md' 'CONTRIBUTING.md'
- name: spellcheck
2023-08-24 20:14:30 +00:00
image: quay.io/thegeeklab/alpine-tools
group: test
2023-08-24 20:14:30 +00:00
commands:
- spellchecker --files 'docs/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls
2023-08-24 20:14:30 +00:00
environment:
FORCE_COLOR: "true"
- name: link-validation
image: docker.io/lycheeverse/lychee
group: test
commands:
- lychee --no-progress --format detailed docs/content README.md
- name: build
image: quay.io/thegeeklab/hugo:0.124.1
2023-08-24 20:14:30 +00:00
commands:
- hugo --panicOnWarning -s docs/
- name: beautify
2023-08-24 20:14:30 +00:00
image: quay.io/thegeeklab/alpine-tools
commands:
- html-beautify -r -f 'docs/public/**/*.html'
environment:
FORCE_COLOR: "true"
- name: publish
2023-08-24 20:14:30 +00:00
image: quay.io/thegeeklab/wp-s3-action
settings:
access_key:
from_secret: s3_access_key
bucket: geekdocs
delete: true
2023-09-26 19:40:33 +00:00
endpoint:
from_secret: s3_endpoint
2023-08-24 20:14:30 +00:00
path_style: true
secret_key:
from_secret: s3_secret_access_key
source: docs/public/
strip_prefix: docs/public/
2023-08-24 20:43:29 +00:00
target: /${CI_REPO_NAME}
2023-08-24 20:14:30 +00:00
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
status: [success, failure]
2023-08-24 20:14:30 +00:00
- name: pushrm-dockerhub
2023-08-24 20:14:30 +00:00
image: docker.io/chko/docker-pushrm:1
secrets:
- source: docker_password
2023-12-17 13:08:03 +00:00
target: DOCKER_PASS
2023-08-24 20:14:30 +00:00
- source: docker_username
2023-12-17 13:08:03 +00:00
target: DOCKER_USER
2023-08-24 20:14:30 +00:00
environment:
PUSHRM_FILE: README.md
PUSHRM_SHORT: Prometheus Service Discovery for Proxmox VE
PUSHRM_TARGET: ${CI_REPO}
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
status: [success]
- name: pushrm-quay
2023-08-24 20:14:30 +00:00
image: docker.io/chko/docker-pushrm:1
secrets:
- source: quay_token
target: APIKEY__QUAY_IO
environment:
PUSHRM_FILE: README.md
PUSHRM_TARGET: quay.io/${CI_REPO}
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
status: [success]
depends_on:
- build-package
- build-container