add build and lint
All checks were successful
renovate / renovate (push) Successful in 1m41s

This commit is contained in:
2025-11-29 22:31:45 -06:00
parent ce87523597
commit 274ab32e2a

View File

@@ -38,17 +38,24 @@ jobs:
for chart_path in clusters/$cluster/helm/*; do
chart_name=$(basename "$chart_path")
echo ""
echo "Rendering chart: $chart_name"
echo ">> Rendering chart: $chart_name"
if [ -f "$chart_path/Chart.yaml" ]; then
OUTPUT_FILE="clusters/$cluster/manifests/$chart_name.yaml"
echo ">> Building helm dependency ..."
helm dependency build
echo ">> Linting helm ..."
helm lint "$chart_path" --namespace "$chart_name" --with-subcharts
helm template "$chart_name" "$chart_path" --namespace "$chart_name" > "$OUTPUT_FILE"
echo "Manifests for $chart_name rendered to $OUTPUT_FILE"
echo ">> Manifests for $chart_name rendered to $OUTPUT_FILE"
echo ""
else
echo "Directory $chart_path does not contain a Chart.yaml. Skipping ..."
echo ">> Directory $chart_path does not contain a Chart.yaml. Skipping ..."
echo ""
fi
done
done