From a3e07705cdd0277659f356b89260e87e3baf68fe Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Tue, 3 Jan 2023 14:25:32 +0000 Subject: [PATCH] ci: add basic tests (#4) --- .woodpecker/test.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .woodpecker/test.yml diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml new file mode 100644 index 0000000..c91197b --- /dev/null +++ b/.woodpecker/test.yml @@ -0,0 +1,31 @@ +platform: linux/amd64 + +when: + event: [ push, pull_request ] + branch: + exclude: + - main + +pipeline: + helm-lint: + image: alpine:3.17 + pull: true + commands: + - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm + - helm lint + + helm-template: + image: alpine:3.17 + pull: true + commands: + - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm + - helm dependency update + - helm template --debug gitea-helm . + + verify-readme: + image: alpine:3.17 + pull: true + commands: + - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing make npm git + - make readme + - git diff --exit-code --name-only README.md