Skip to content

Commit

Permalink
skip delete test cluster to debug (aws#2414)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviassss authored and jdn5126 committed Jul 12, 2023
1 parent f9d816e commit 6b080b8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/lib/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 6b080b8

Please sign in to comment.