forgejo-helm/.woodpecker/lint.yml
Michael Kriese 00c8377d5b
feat!: add gitea chart v8 changes
BREAKING CHANGE: MySQL and MariaDB subcharts are removed.
2023-04-04 17:00:16 +02:00

55 lines
1 KiB
YAML

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