Use --namespace value within Helmfile template (#343)

* Use --namespace value within Helmfile template (#326).

* Tabs and spaces.

* Tab/spaces fix.

* Pacifying "go fmt".

* Hard-coding namespace in test convenience function.

* MR feedback: Add comment to exported identifier.

* MR feedback: Put comment in correct location.

* fix(ci): fix never-ending build issue by auto-approving `helmfile delete`
This commit is contained in:
Dan Helfman
2018-09-17 21:28:45 +09:00
committed by KUOKA Yusuke
parent 6453768f2e
commit 1ade353c1a
6 changed files with 62 additions and 27 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ wait_deploy_ready httpbin-httpbin
retry 5 "curl --fail $(minikube service --url --namespace=${test_ns} httpbin-httpbin)/status/200"
[ ${retry_result} -eq 0 ] || fail "httpbin failed to return 200 OK"
info "Deleting release"
${helmfile} -f ${dir}/happypath.yaml delete
${helmfile} -f ${dir}/happypath.yaml delete --auto-approve
${helm} status --namespace=${test_ns} httpbin &> /dev/null && fail "release should not exist anymore after a delete"
test_pass "happypath"