Skip to content

Commit 6ca8ca7

Browse files
Add Helm template rendering step to CI workflow (#13)
Renders all charts under helm/ to validate templates produce valid YAML. Also extends YAML validation to cover all relevant directories. Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b5af973 commit 6ca8ca7

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,21 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v7
2424

25-
- name: Validate YAML files in argocd/ and catalog/
25+
- name: Validate YAML files
2626
run: |
2727
find .github argocd catalog helm techdocs -name '*.yaml' -o -name '*.yml' | while read -r file; do
2828
echo " $file"
2929
yq '.' "$file" > /dev/null
3030
done
3131
32-
- name: Run shellcheck on scripts/
32+
- name: Render Helm charts
33+
run: |
34+
for chart in helm/*/; do
35+
echo "Rendering $chart..."
36+
helm template test "$chart" > /dev/null
37+
done
38+
39+
- name: Run shellcheck on scripts
3340
run: |
3441
echo "Running shellcheck on scripts/..."
3542
find scripts -name '*.sh' | while read -r file; do

0 commit comments

Comments
 (0)