2022-07-12 13:44:03 +02:00
|
|
|
---
|
|
|
|
default:
|
2022-11-29 16:13:04 +01:00
|
|
|
image: fabcityhamburg/k8s-tools
|
2022-07-12 13:44:03 +02:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
- build
|
|
|
|
|
2022-11-29 16:13:04 +01:00
|
|
|
lint.yaml:
|
2022-11-29 14:38:16 +01:00
|
|
|
stage: test
|
|
|
|
script:
|
2022-11-29 16:13:04 +01:00
|
|
|
- yamllint -f auto .
|
2022-11-29 14:38:16 +01:00
|
|
|
|
2022-11-29 16:13:04 +01:00
|
|
|
lint.kustomize.dev:
|
|
|
|
stage: build
|
|
|
|
script:
|
2022-11-29 16:27:26 +01:00
|
|
|
- kubectl kustomize overlays/dev --enable-helm >/dev/null
|
2022-07-13 09:53:17 +02:00
|
|
|
|
2022-11-29 16:13:04 +01:00
|
|
|
lint.kustomize.prod:
|
|
|
|
stage: build
|
|
|
|
script:
|
2022-11-29 16:27:26 +01:00
|
|
|
- kubectl kustomize overlays/prod --enable-helm >/dev/null
|