Skip to content

Commit 6a24508

Browse files
authored
Merge pull request #808 from umagnus/fix-helm-lint
test: add helm lint test
2 parents 348a3a1 + 7e4e4d0 commit 6a24508

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

hack/verify-helm-chart.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ function validate_image() {
3535
fi
3636
}
3737

38+
echo "Running helm lint"
39+
40+
if [[ -z "$(command -v helm)" ]]; then
41+
echo "Cannot find helm. Installing helm..."
42+
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
43+
fi
44+
45+
helm lint ${PKG_ROOT}/charts/latest/blob-csi-driver
46+
3847
echo "Comparing image version between helm chart and manifests in deploy folder"
3948

4049
if [[ -z "$(command -v pip)" ]]; then

0 commit comments

Comments
 (0)