forgejo-helm/.woodpecker/lint.yml
Michael Kriese a0e6b1ad35 feat!: upstream changes (#47)
GPG feature has breaking changes

Co-authored-by: robv89r <robv8r@noreply.gitea.io>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/47
2023-01-19 13:45:32 +00:00

50 lines
1 KiB
YAML

platform: linux/amd64
when:
event:
- pull_request
- tag
- push
branch:
- main
- release/**
pipeline:
deps:
image: alpine:3.17.1
pull: true
commands:
- apk add --no-cache helm
- helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
- helm dependency build
helm-lint:
image: alpine:3.17.1
pull: true
commands:
- apk add --no-cache helm
- helm lint
helm-template:
image: alpine:3.17.1
pull: true
commands:
- apk add --no-cache helm
- helm template --debug gitea-helm .
helm-unittests:
image: alpine:3.17.1
pull: true
commands:
- apk add --no-cache make helm git bash
- helm plugin install https://github.com/quintush/helm-unittest
- helm dependency update
- make unittests
verify-readme:
image: alpine:3.17.1
pull: true
commands:
- apk add --no-cache make nodejs npm git
- make readme
- git diff --exit-code --name-only README.md