Skip to content

Commit

Permalink
Merge pull request #566 from umagnus/fix-helm-lint
Browse files Browse the repository at this point in the history
test: add helm lint test
  • Loading branch information
andyzhangx authored Jan 8, 2023
2 parents 164ca05 + 0245e00 commit a18fca5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hack/verify-helm-chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ function validate_image() {
fi
}

echo "Running helm lint"

if [[ -z "$(command -v helm)" ]]; then
echo "Cannot find helm. Installing helm..."
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
fi

helm lint ${PKG_ROOT}/charts/latest/csi-driver-smb

echo "Comparing image version between helm chart and manifests in deploy folder"

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

0 comments on commit a18fca5

Please sign in to comment.