From eb673dc30e4990be89bc9a9c0fc9d036e824d091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Sun, 1 Nov 2020 19:22:16 +0100 Subject: [PATCH] Add test case for values (cherry picked from commit e77a1b436bb009cec94825e98a175531dda1bc12) --- tests/05-helm-cli.bats | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/05-helm-cli.bats b/tests/05-helm-cli.bats index 5f4ca144..cfeed251 100644 --- a/tests/05-helm-cli.bats +++ b/tests/05-helm-cli.bats @@ -58,3 +58,13 @@ load 'test-helper' run grep cert-manager-v0.5.2 "$HELM_HOME/repository/repositories.yaml" [ -n "$output" ] } + +@test "helm_cli lint cert-manager-v0.5.2.tgz + values" { + run helm_init "$HELM_HOME" + [ $status = 0 ] + run helm plugin install "$HELM_GIT_DIRNAME" + [ $status = 0 ] + run helm lint "git+https://github.com/jetstack/cert-manager@contrib/charts/cert-manager-v0.5.2.tgz?ref=v0.5.2" \ + -f "git+https://github.com/jetstack/cert-manager@test/fixtures/cert-manager-values.yaml?ref=v0.5.2" + [ $status = 0 ] +}