ci: migrate to woodpecker
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details

This commit is contained in:
Robert Kaussow 2024-01-14 21:08:05 +01:00
parent d7508a2704
commit 83d7b08089
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 44 additions and 42 deletions

View File

@ -1,42 +0,0 @@
---
kind: pipeline
name: check
platform:
os: linux
arch: amd64
steps:
- name: whitespace
image: thegeeklab/alpine-tools
commands:
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
- name: packer
image: hashicorp/packer
commands:
- packer fmt -recursive -check -diff .
- name: markdownlint
image: thegeeklab/markdownlint-cli
commands:
- markdownlint 'README.md'
- name: spellcheck
image: thegeeklab/alpine-tools
commands:
- spellchecker --files 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions
environment:
FORCE_COLOR: true
trigger:
ref:
- refs/heads/main
- refs/tags/**
- refs/pull/**
---
kind: signature
hmac: a187e0d17f274d8c0812a4f458cb80437f6c5330d6b8969ab704fe1db5782855
...

27
.woodpecker/docs.yml Normal file
View File

@ -0,0 +1,27 @@
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: markdownlint
image: quay.io/thegeeklab/markdownlint-cli
group: test
commands:
- markdownlint 'README.md'
- name: spellcheck
image: quay.io/thegeeklab/alpine-tools
group: test
commands:
- spellchecker --files 'README.md' -d .dictionary -p spell indefinite-article syntax-urls
environment:
FORCE_COLOR: "true"
- name: link-validation
image: docker.io/lycheeverse/lychee
group: test
commands:
- lychee --no-progress --format detailed README.md

17
.woodpecker/test.yml Normal file
View File

@ -0,0 +1,17 @@
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: git-spaces
image: quay.io/thegeeklab/alpine-tools
commands:
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
- name: packer
image: docker.io/hashicorp/packer
commands:
- packer fmt -recursive -check -diff .