Skip to content

Commit

Permalink
Add test case for values
Browse files Browse the repository at this point in the history
(cherry picked from commit e77a1b4)
  • Loading branch information
jkroepke committed Nov 1, 2020
1 parent 6092b3b commit eb673dc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/05-helm-cli.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
}

0 comments on commit eb673dc

Please sign in to comment.