Delete failed helm releases to prevent test case failure (#393)
This commit is contained in:
committed by
Soam Vasani
parent
3644760f19
commit
9694ba4fd1
@@ -117,6 +117,9 @@ helm_install_fission() {
|
|||||||
helmVars=image=$image,imageTag=$imageTag,fetcherImage=$fetcherImage,fetcherImageTag=$fetcherImageTag,functionNamespace=$fns,controllerPort=$controllerNodeport,routerPort=$routerNodeport,pullPolicy=Always,analytics=false
|
helmVars=image=$image,imageTag=$imageTag,fetcherImage=$fetcherImage,fetcherImageTag=$fetcherImageTag,functionNamespace=$fns,controllerPort=$controllerNodeport,routerPort=$routerNodeport,pullPolicy=Always,analytics=false
|
||||||
|
|
||||||
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 \
|
||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user