diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index d1a2c4a..0000000 --- a/.drone.yml +++ /dev/null @@ -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 - -... diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml new file mode 100644 index 0000000..9cf849d --- /dev/null +++ b/.woodpecker/docs.yml @@ -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 diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml new file mode 100644 index 0000000..b4bbbf2 --- /dev/null +++ b/.woodpecker/test.yml @@ -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 .