ci: migrate to woodpecker
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/docs Pipeline failed

This commit is contained in:
Robert Kaussow 2024-01-14 21:16:55 +01:00
parent bb1bf2c072
commit 43abeb2a89
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: c0676bb49df70f3e5aaa41597110a6124f0093a21e70c8bcb5e6a537a8295982
...

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 .