forgejo-helm/.woodpecker/lint.yml
2023-04-17 11:40:06 +02:00

55 lines
1.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 --version 0.3.1 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 .