2023-08-19 14:00:02 +00:00
|
|
|
---
|
|
|
|
when:
|
|
|
|
- event: [pull_request, tag]
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
2024-02-05 07:58:29 +00:00
|
|
|
- event: [push]
|
|
|
|
branch:
|
|
|
|
- renovate/*
|
2023-08-19 14:00:02 +00:00
|
|
|
|
|
|
|
steps:
|
2023-12-23 22:45:12 +00:00
|
|
|
- name: markdownlint
|
2023-08-19 14:00:02 +00:00
|
|
|
image: quay.io/thegeeklab/markdownlint-cli
|
2023-12-15 21:34:48 +00:00
|
|
|
group: test
|
2023-08-19 14:00:02 +00:00
|
|
|
commands:
|
|
|
|
- markdownlint 'README.md' 'CONTRIBUTING.md'
|
|
|
|
|
2023-12-23 22:45:12 +00:00
|
|
|
- name: spellcheck
|
2023-08-19 14:00:02 +00:00
|
|
|
image: quay.io/thegeeklab/alpine-tools
|
2023-12-15 21:34:48 +00:00
|
|
|
group: test
|
2023-08-19 14:00:02 +00:00
|
|
|
commands:
|
2023-12-23 22:45:12 +00:00
|
|
|
- spellchecker --files 'docs/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls
|
2023-08-19 14:00:02 +00:00
|
|
|
environment:
|
|
|
|
FORCE_COLOR: "true"
|
|
|
|
|
2023-12-23 22:45:12 +00:00
|
|
|
- name: link-validation
|
2023-10-16 22:40:38 +00:00
|
|
|
image: docker.io/lycheeverse/lychee
|
|
|
|
group: test
|
|
|
|
commands:
|
2023-12-23 22:45:12 +00:00
|
|
|
- lychee --no-progress --format detailed docs/content README.md
|
2023-10-16 22:40:38 +00:00
|
|
|
|
2023-12-23 22:45:12 +00:00
|
|
|
- name: publish
|
2023-08-19 14:00:02 +00:00
|
|
|
image: quay.io/thegeeklab/wp-git-action
|
|
|
|
settings:
|
|
|
|
action:
|
|
|
|
- pages
|
|
|
|
author_email: bot@thegeeklab.de
|
|
|
|
author_name: thegeeklab-bot
|
|
|
|
branch: docs
|
|
|
|
message: "[skip ci] auto-update documentation"
|
|
|
|
netrc_password:
|
|
|
|
from_secret: github_token
|
2023-12-23 22:45:12 +00:00
|
|
|
pages_directory: docs/
|
2023-08-19 14:00:02 +00:00
|
|
|
when:
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
2023-12-23 22:45:12 +00:00
|
|
|
status: [success, failure]
|
2023-08-19 14:00:02 +00:00
|
|
|
|
2023-12-23 22:45:12 +00:00
|
|
|
- name: pushrm-dockerhub
|
2023-08-19 14:00:02 +00:00
|
|
|
image: docker.io/chko/docker-pushrm:1
|
|
|
|
secrets:
|
|
|
|
- source: docker_password
|
2023-12-15 21:34:48 +00:00
|
|
|
target: DOCKER_PASS
|
2023-08-19 14:00:02 +00:00
|
|
|
- source: docker_username
|
2023-12-15 21:34:48 +00:00
|
|
|
target: DOCKER_USER
|
2023-08-19 14:00:02 +00:00
|
|
|
environment:
|
|
|
|
PUSHRM_FILE: README.md
|
|
|
|
PUSHRM_SHORT: Woodpecker CI plugin to perform S3 actions
|
|
|
|
PUSHRM_TARGET: ${CI_REPO}
|
|
|
|
when:
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
status: [success]
|
|
|
|
|
2023-12-23 22:45:12 +00:00
|
|
|
- name: pushrm-quay
|
2023-08-19 14:00:02 +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:
|
2023-08-22 20:23:32 +00:00
|
|
|
- build-package
|
2023-08-19 14:00:02 +00:00
|
|
|
- build-container
|