Skip to content

Commit

Permalink
Add test case for values
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Nov 12, 2020
1 parent 30592c2 commit 4012dac
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/05-helm-cli.bats
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,15 @@ load 'test-helper'
run "$HELM_BIN" repo remove cert-manager-v0.5.2
[ $status = 0 ]
}

@test "helm_cli template example-chart + values" {
run helm_init "$HELM_HOME"
[ $status = 0 ]
run helm plugin install "$HELM_GIT_DIRNAME"
[ $status = 0 ]
run helm template \
--repo "git+https://github.com/aslafy-z/helm-git@tests/fixtures/example-chart?ref=master" \
example-chart \
-f "git+https://github.com/aslafy-z/helm-git@tests/fixtures/example-chart/values.yaml?ref=master"
[ $status = 0 ]
}

0 comments on commit 4012dac

Please sign in to comment.