0
0
mirror of https://github.com/thegeeklab/woodpecker-plugins.git synced 2024-11-28 07:20:34 +00:00

use list style synatx and cleanup (#9)

This commit is contained in:
Robert Kaussow 2023-12-22 12:51:22 +01:00 committed by GitHub
parent e95a87983d
commit 3d4be14300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 27 deletions

View File

@ -8,3 +8,5 @@ https://github.com/thegeeklab/wp-matrix;docs:content/;content/plugins/wp-matrix
https://github.com/thegeeklab/wp-matrix;docs:data/;data/properties/wp-matrix https://github.com/thegeeklab/wp-matrix;docs:data/;data/properties/wp-matrix
https://github.com/thegeeklab/wp-git-action;docs:content/;content/plugins/wp-git-action https://github.com/thegeeklab/wp-git-action;docs:content/;content/plugins/wp-git-action
https://github.com/thegeeklab/wp-git-action;docs:data/;data/properties/wp-git-action https://github.com/thegeeklab/wp-git-action;docs:data/;data/properties/wp-git-action
https://github.com/thegeeklab/wp-ansible;docs:content/;content/plugins/wp-ansible
https://github.com/thegeeklab/wp-ansible;docs:data/;data/properties/wp-ansible

View File

@ -6,57 +6,50 @@ when:
- ${CI_REPO_DEFAULT_BRANCH} - ${CI_REPO_DEFAULT_BRANCH}
steps: steps:
assets: - name: assets
image: quay.io/thegeeklab/alpine-tools image: quay.io/thegeeklab/alpine-tools
commands: commands:
- make doc - make doc
sync: - name: sync
image: quay.io/thegeeklab/git-batch image: quay.io/thegeeklab/git-batch
commands: commands:
- git-batch - git-batch
markdownlint: - name: markdownlint
image: quay.io/thegeeklab/markdownlint-cli image: quay.io/thegeeklab/markdownlint-cli
group: test
commands: commands:
- markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md' - markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md'
spellcheck: - name: spellcheck
image: quay.io/thegeeklab/alpine-tools image: quay.io/thegeeklab/alpine-tools
commands:
- spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls
environment:
FORCE_COLOR: "true"
NPM_CONFIG_LOGLEVEL: error
testbuild:
image: quay.io/thegeeklab/hugo:0.115.2
commands:
- hugo --panicOnWarning -b http://localhost:8000/
link-validation:
image: quay.io/thegeeklab/link-validator
group: test group: test
commands: commands:
- link-validator --color=always --rate-limit 10 --timeout 60 -e https://pkg.go.dev.* - spellchecker --files 'content/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls
environment: environment:
LINK_VALIDATOR_BASE_DIR: public FORCE_COLOR: "true"
LINK_VALIDATOR_RETRIES: "3"
build: - name: link-validation
image: docker.io/lycheeverse/lychee
group: test
commands:
- lychee --no-progress --format detailed content/ README.md
- name: build
image: quay.io/thegeeklab/hugo:0.115.2 image: quay.io/thegeeklab/hugo:0.115.2
commands: commands:
# Fetch is used to get the full git history.
# Required for Hugos git metadata integration.
- git fetch --depth=2147483647
- hugo --panicOnWarning - hugo --panicOnWarning
beautify: - name: beautify
image: quay.io/thegeeklab/alpine-tools image: quay.io/thegeeklab/alpine-tools
commands: commands:
- html-beautify -r -f 'public/**/*.html' - html-beautify -r -f 'public/**/*.html'
environment:
FORCE_COLOR: "true"
NPM_CONFIG_LOGLEVEL: error
publish: - name: publish
image: quay.io/thegeeklab/wp-s3-action image: quay.io/thegeeklab/wp-s3-action
settings: settings:
access_key: access_key:
@ -76,3 +69,4 @@ steps:
- event: [push, manual, cron] - event: [push, manual, cron]
branch: branch:
- ${CI_REPO_DEFAULT_BRANCH} - ${CI_REPO_DEFAULT_BRANCH}
status: [success, failure]

View File

@ -8,7 +8,7 @@ when:
runs_on: [success, failure] runs_on: [success, failure]
steps: steps:
matrix: - name: matrix
image: quay.io/thegeeklab/wp-matrix image: quay.io/thegeeklab/wp-matrix
settings: settings:
homeserver: homeserver: