forgejo-helm/.woodpecker/lint.yml
2023-01-04 10:46:16 +01:00

41 lines
1,017 B
YAML

platform: linux/amd64
when:
event:
- pull_request
- tag
- push
branch:
- main
- release/**
pipeline:
deps:
image: alpine:3.17.0
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.0
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.0
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.0
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