We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1c9c63 commit 1a6977aCopy full SHA for 1a6977a
1 file changed
tools/helm-test/helm-test
@@ -41,6 +41,15 @@ if [ "${CREATE_CLUSTER}" == "true" ]; then
41
"${scriptDir}/create-cluster" "${testDir}"
42
fi
43
44
+deleteCluster() {
45
+ "${scriptDir}/delete-cluster" "${testDir}"
46
+}
47
+
48
+DELETE_CLUSTER=${DELETE_CLUSTER:-false}
49
+if [ "${DELETE_CLUSTER}" == "true" ]; then
50
+ trap deleteCluster EXIT
51
+fi
52
53
"${scriptDir}/deploy-dependencies" "${testDir}"
54
55
"${scriptDir}/deploy-subject" "${testDir}"
@@ -51,12 +60,3 @@ if [ "${runUninstall}" == "true" ]; then
60
61
62
"${scriptDir}/run-tests" "${testDir}"
-
-deleteCluster() {
56
- "${scriptDir}/delete-cluster" "${testDir}"
57
-}
58
59
-DELETE_CLUSTER=${DELETE_CLUSTER:-false}
-if [ "${DELETE_CLUSTER}" == "true" ]; then
- trap deleteCluster EXIT
-fi
0 commit comments