Delete failed helm releases to prevent test case failure (#393)

This commit is contained in:
Ta-Ching Chen
2017-11-09 06:04:06 -08:00
committed by Soam Vasani
parent 3644760f19
commit 9694ba4fd1
+5
View File
@@ -118,6 +118,9 @@ helm_install_fission() {
helm_setup helm_setup
echo "Deleting failed releases"
helm list --failed -q|xargs -I@ bash -c "helm delete @"
echo "Installing fission" echo "Installing fission"
helm install \ helm install \
--wait \ --wait \
@@ -127,6 +130,8 @@ helm_install_fission() {
--namespace $ns \ --namespace $ns \
--debug \ --debug \
$ROOT/charts/fission-all $ROOT/charts/fission-all
helm list
} }
wait_for_service() { wait_for_service() {