ci: add basic tests (#4)

This commit is contained in:
Michael Kriese 2023-01-03 14:25:32 +00:00
parent 6574b1b232
commit a3e07705cd

31
.woodpecker/test.yml Normal file
View file

@ -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