From 9ae0bc77e1d6f369f56af4e7d604bc925872353f Mon Sep 17 00:00:00 2001 From: Christoph Jerolimov Date: Thu, 2 Jul 2026 00:10:56 +0200 Subject: [PATCH] Add Helm template rendering step to CI workflow Renders all charts under helm/ to validate templates produce valid YAML. Also extends YAML validation to cover all relevant directories. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Christoph Jerolimov --- .github/workflows/ci.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2dff6c4..269592a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,14 +22,21 @@ jobs: - name: Checkout uses: actions/checkout@v7 - - name: Validate YAML files in argocd/ and catalog/ + - name: Validate YAML files run: | find .github argocd catalog helm techdocs -name '*.yaml' -o -name '*.yml' | while read -r file; do echo " $file" yq '.' "$file" > /dev/null done - - name: Run shellcheck on scripts/ + - name: Render Helm charts + run: | + for chart in helm/*/; do + echo "Rendering $chart..." + helm template test "$chart" > /dev/null + done + + - name: Run shellcheck on scripts run: | echo "Running shellcheck on scripts/..." find scripts -name '*.sh' | while read -r file; do