Skip to content

Commit

Permalink
dont remake temp
Browse files Browse the repository at this point in the history
  • Loading branch information
knutia committed Jun 21, 2024
1 parent a0f47db commit 8d5b455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for chart in */Chart.yaml; do
helm lint $chart
[ ! -z "$(echo $chart | egrep 'dotnet|golang|java|nodejs|web')" ] && {
[ -d data ] && rm -rf data
mkdir data temp
# mkdir data temp
helm template $chart --output-dir temp --set istio.enabled=1 --set csi.enabled=1
for f in temp/$chart/templates/*.yaml; do dst="data/$(basename $f | sed 's/yaml/json/g')"; yq eval $f -o json > $dst; done
conftest test data/*
Expand Down

0 comments on commit 8d5b455

Please sign in to comment.