Flipped order and fixed final and

This commit is contained in:
GeorgeRaven
2025-04-08 22:57:58 +01:00
parent 7b9b4a57a6
commit 272d487bdc
2 changed files with 2 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
stages:
- scan
- lint
- scan
- build
- test
- deploy

View File

@@ -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 \