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-01-03 22:26:25 +00:00
|
|
|
deps:
|
2023-03-30 04:20:40 +00:00
|
|
|
image: alpine:3.17.3
|
2023-01-03 14:25:32 +00:00
|
|
|
pull: true
|
|
|
|
commands:
|
2023-01-04 14:52:49 +00:00
|
|
|
- apk add --no-cache helm
|
2023-01-03 22:23:46 +00:00
|
|
|
- helm dependency build
|
2023-01-03 22:26:25 +00:00
|
|
|
|
|
|
|
helm-lint:
|
2023-03-30 04:20:40 +00:00
|
|
|
image: alpine:3.17.3
|
2023-01-03 22:26:25 +00:00
|
|
|
pull: true
|
|
|
|
commands:
|
2023-01-04 14:52:49 +00:00
|
|
|
- apk add --no-cache helm
|
2023-01-03 14:25:32 +00:00
|
|
|
- helm lint
|
|
|
|
|
|
|
|
helm-template:
|
2023-03-30 04:20:40 +00:00
|
|
|
image: alpine:3.17.3
|
2023-01-03 14:25:32 +00:00
|
|
|
pull: true
|
|
|
|
commands:
|
2023-01-04 14:52:49 +00:00
|
|
|
- apk add --no-cache 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-03-30 04:20:40 +00:00
|
|
|
image: alpine:3.17.3
|
2023-01-19 13:45:32 +00:00
|
|
|
pull: true
|
|
|
|
commands:
|
|
|
|
- apk add --no-cache make helm git bash
|
2023-03-07 12:17:56 +00:00
|
|
|
- helm plugin install 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-03-30 04:20:40 +00:00
|
|
|
image: alpine:3.17.3
|
2023-01-03 14:25:32 +00:00
|
|
|
pull: true
|
|
|
|
commands:
|
2023-01-04 14:52:49 +00:00
|
|
|
- apk add --no-cache 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:
|
|
|
|
image: cytopia/yamllint:alpine-1
|
|
|
|
pull: true
|
|
|
|
commands:
|
|
|
|
- yamllint -f colored .
|