From a2ec253ea97e12ae02e72d841a685afba953c84f Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sat, 25 Feb 2023 20:00:54 +0100 Subject: [PATCH] ci(charts): Add strict helm liniting for all charts --- charts/.utils/gitlab-ci.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/charts/.utils/gitlab-ci.yaml b/charts/.utils/gitlab-ci.yaml index 8ee6a9dce..b4295940e 100644 --- a/charts/.utils/gitlab-ci.yaml +++ b/charts/.utils/gitlab-ci.yaml @@ -20,6 +20,20 @@ chart-package: changes: - charts/${CHART}/Chart.yaml + +chart-helm-lint: + stage: lint + extends: .chart-matrix + image: quay.io/helmpack/chart-testing:v3.7.1 + script: + - helm lint --strict charts/${CHART} + rules: + - if: '$CI_PIPELINE_SOURCE == "push"' + changes: + paths: + - charts/${CHART}/**/* + compare_to: main + chart-helm-unittest: stage: lint extends: .chart-matrix -- GitLab