From 6b080b86b09d2c6b2e3b0bb8468a077c56da3900 Mon Sep 17 00:00:00 2001 From: Olivia Song Date: Fri, 9 Jun 2023 15:50:08 -0700 Subject: [PATCH] skip delete test cluster to debug (#2414) --- scripts/lib/cluster.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/lib/cluster.sh b/scripts/lib/cluster.sh index 0edfac4e7c..0517e991df 100644 --- a/scripts/lib/cluster.sh +++ b/scripts/lib/cluster.sh @@ -16,10 +16,11 @@ function load_deveks_cluster_details() { } function down-test-cluster() { - echo -n "Deleting cluster (this may take ~10 mins) ... " - eksctl delete cluster $CLUSTER_NAME >>$CLUSTER_MANAGE_LOG_PATH 2>&1 || - (echo "failed. Check $CLUSTER_MANAGE_LOG_PATH." && exit 1) - echo "ok." + echo "skipping the cluster deletion in down-test-cluster for debug" +# echo -n "Deleting cluster (this may take ~10 mins) ... " +# eksctl delete cluster $CLUSTER_NAME >>$CLUSTER_MANAGE_LOG_PATH 2>&1 || +# (echo "failed. Check $CLUSTER_MANAGE_LOG_PATH." && exit 1) +# echo "ok." } function up-test-cluster() {