mirror-forgejo-helm/.woodpecker/lint.yml
Michael Kriese 9212c6da03 ci(deps): update dependency helm-unittest to v0.3.3 (#142)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/142
2023-05-23 12:28:45 +00:00

56 lines
1 KiB
YAML

platform: linux/amd64
when:
event:
- pull_request
- tag
- push
branch:
- main
- release/**
pipeline:
deps:
image: alpine:3.18.0
pull: true
commands:
- apk add helm
- helm dependency build
helm-lint:
image: alpine:3.18.0
pull: true
commands:
- apk add helm
- helm lint
helm-template:
image: alpine:3.18.0
pull: true
commands:
- apk add helm
- helm template --debug gitea-helm .
helm-unittests:
image: alpine:3.18.0
pull: true
commands:
- apk add make helm git bash
- helm plugin install --version v0.3.3 https://github.com/helm-unittest/helm-unittest
- helm dependency update
- make unittests
verify-readme:
image: alpine:3.18.0
pull: true
commands:
- apk add make nodejs npm git
- make readme
- git diff --exit-code --name-only README.md
yaml-lint:
image: alpine:3.18.0
pull: true
commands:
- apk add yamllint
- yamllint -f colored .