mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
Flipped order and fixed final and
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
stages:
|
||||
- scan
|
||||
- lint
|
||||
- scan
|
||||
- build
|
||||
- test
|
||||
- deploy
|
||||
|
||||
@@ -17,8 +17,7 @@ helm-chart-lint:
|
||||
[ "${dir}" != "${CHARTS_DIR}/gitea" ] && \
|
||||
[ "${dir}" != "${CHARTS_DIR}/jupyterhub" ] && \
|
||||
[ "${dir}" != "${CHARTS_DIR}/rook" ] && \
|
||||
[ "${dir}" != "${CHARTS_DIR}/teleport" ] && \
|
||||
; then
|
||||
[ "${dir}" != "${CHARTS_DIR}/teleport" ]; then
|
||||
helm template "${dir}"/ | yq 'del(.metadata.creationTimestamp) | del(.spec.template.metadata.creationTimestamp)' | kubeconform -strict -kubernetes-version ${K8S_VERSION} \
|
||||
-schema-location './schemas/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' \
|
||||
-schema-location default \
|
||||
|
||||
Reference in New Issue
Block a user