2023-01-03 14:25:32 +00:00
|
|
|
platform: linux/amd64
|
|
|
|
|
|
|
|
when:
|
2023-01-04 07:47:02 +00:00
|
|
|
event:
|
2023-01-04 07:37:30 +00:00
|
|
|
- pull_request
|
|
|
|
- tag
|
2023-01-04 07:47:02 +00:00
|
|
|
- push
|
2023-01-04 08:20:04 +00:00
|
|
|
branch:
|
2023-01-04 07:47:02 +00:00
|
|
|
- main
|
|
|
|
- release/**
|
2023-01-03 14:25:32 +00:00
|
|
|
|
|
|
|
pipeline:
|
2023-12-06 13:39:08 +00:00
|
|
|
prettier:
|
|
|
|
image: alpine:3.18.5
|
|
|
|
pull: true
|
|
|
|
commands:
|
|
|
|
- apk add nodejs npm
|
2023-12-06 13:50:35 +00:00
|
|
|
- npm ci
|
2023-12-06 13:39:08 +00:00
|
|
|
- npm run prettier
|
2023-12-06 13:50:35 +00:00
|
|
|
- npx markdownlint-cli .
|
2023-12-06 13:39:08 +00:00
|
|
|
|
2023-01-03 22:26:25 +00:00
|
|
|
deps:
|
2023-12-02 00:08:05 +00:00
|
|
|
image: alpine:3.18.5
|
2023-01-03 14:25:32 +00:00
|
|
|
pull: true
|
|
|
|
commands:
|
2023-04-17 10:21:27 +00:00
|
|
|
- apk add helm
|
2023-01-03 22:23:46 +00:00
|
|
|
- helm dependency build
|
2023-01-03 22:26:25 +00:00
|
|
|
|
|
|
|
helm-lint:
|
2023-12-02 00:08:05 +00:00
|
|
|
image: alpine:3.18.5
|
2023-01-03 22:26:25 +00:00
|
|
|
pull: true
|
|
|
|
commands:
|
2023-04-17 10:21:27 +00:00
|
|
|
- apk add helm
|
2023-01-03 14:25:32 +00:00
|
|
|
- helm lint
|
|
|
|
|
|
|
|
helm-template:
|
2023-12-02 00:08:05 +00:00
|
|
|
image: alpine:3.18.5
|
2023-01-03 14:25:32 +00:00
|
|
|
pull: true
|
|
|
|
commands:
|
2023-04-17 10:21:27 +00:00
|
|
|
- apk add helm
|
2023-01-03 14:25:32 +00:00
|
|
|
- helm template --debug gitea-helm .
|
|
|
|
|
2023-01-19 13:45:32 +00:00
|
|
|
helm-unittests:
|
2023-12-02 00:08:05 +00:00
|
|
|
image: alpine:3.18.5
|
2023-01-19 13:45:32 +00:00
|
|
|
pull: true
|
|
|
|
commands:
|
2023-04-17 10:21:27 +00:00
|
|
|
- apk add make helm git bash
|
2023-11-05 00:08:00 +00:00
|
|
|
- helm plugin install --version v0.3.6 https://github.com/helm-unittest/helm-unittest
|
2023-01-19 13:45:32 +00:00
|
|
|
- helm dependency update
|
|
|
|
- make unittests
|
|
|
|
|
2023-01-03 14:25:32 +00:00
|
|
|
verify-readme:
|
2023-12-02 00:08:05 +00:00
|
|
|
image: alpine:3.18.5
|
2023-01-03 14:25:32 +00:00
|
|
|
pull: true
|
|
|
|
commands:
|
2023-04-17 10:21:27 +00:00
|
|
|
- apk add make nodejs npm git
|
2023-01-03 14:25:32 +00:00
|
|
|
- make readme
|
|
|
|
- git diff --exit-code --name-only README.md
|
2023-04-04 13:47:07 +00:00
|
|
|
|
|
|
|
yaml-lint:
|
2023-12-06 13:39:08 +00:00
|
|
|
image: quay.io/helmpack/chart-testing:v3.10.1
|
2023-04-04 13:47:07 +00:00
|
|
|
pull: true
|
|
|
|
commands:
|
|
|
|
- yamllint -f colored .
|
2023-12-06 13:09:34 +00:00
|
|
|
|
2023-12-06 13:39:08 +00:00
|
|
|
ct-lint:
|
2023-12-06 13:09:34 +00:00
|
|
|
image: quay.io/helmpack/chart-testing:v3.10.1
|
|
|
|
pull: true
|
|
|
|
commands:
|
|
|
|
- git fetch --no-tags --filter=blob:none origin
|
|
|
|
- ct lint --config tools/ct.yml --charts .
|