diff --git a/charts/gitops-runtime/tests/cf-argocd-extras_test.yaml b/charts/gitops-runtime/tests/cf-argocd-extras_test.yaml index 96f3636f..018d149c 100644 --- a/charts/gitops-runtime/tests/cf-argocd-extras_test.yaml +++ b/charts/gitops-runtime/tests/cf-argocd-extras_test.yaml @@ -3,6 +3,8 @@ suite: cf-argocd-extras tests templates: - cf-argocd-extras/**/*.yaml - _components/cf-argocd-extras/** +chart: + version: 0.0.0 tests: - it: Sources Server ConfigMap should have valid data template: cf-argocd-extras/sources-server/configmap.yaml diff --git a/scripts/helm-unittests.sh b/scripts/helm-unittests.sh index b33be9f8..8c1503e0 100755 --- a/scripts/helm-unittests.sh +++ b/scripts/helm-unittests.sh @@ -5,4 +5,4 @@ CHART_DIR="$(cd "$(dirname "$0")/.." && pwd)" echo "$CHART_DIR" echo "Running Helm unittests" -docker run --entrypoint "/bin/sh" -it --rm -v $CHART_DIR/charts:/charts alpine/helm:3.14.4 -c 'helm plugin install https://github.com/helm-unittest/helm-unittest.git --version 0.5.1 && helm unittest /charts/gitops-runtime' +docker run -it --rm -v $CHART_DIR/charts:/charts helmunittest/helm-unittest:3.15.3-0.5.1 /charts/gitops-runtime