forgejo-helm/.woodpecker/lint.yml
Michael Kriese 05e8111876
ci: add repo
2023-01-03 23:26:25 +01:00

37 lines
959 B
YAML

platform: linux/amd64
when:
branch:
exclude:
- pages
pipeline:
deps:
image: alpine:3.17
pull: true
commands:
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm
- helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
- helm dependency build
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 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