Skip to content

Commit 59e34d3

Browse files
committed
Quiet removal steps
1 parent 5e8d8da commit 59e34d3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/scripts/cleanup-router.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
source scripts/vars.env
44

5-
gcloud compute routers nats delete ${RESOURCE_NAME} --router ${RESOURCE_NAME} --router-region ${GKE_CLUSTER_REGION}
6-
gcloud compute routers delete ${RESOURCE_NAME} --region ${GKE_CLUSTER_REGION}
5+
gcloud compute routers nats delete ${RESOURCE_NAME} --quiet --router ${RESOURCE_NAME} --router-region ${GKE_CLUSTER_REGION}
6+
gcloud compute routers delete ${RESOURCE_NAME} --quiet --region ${GKE_CLUSTER_REGION}

tests/scripts/cleanup-vm.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ if [ "${ADD_VM_IP_AUTH_NETWORKS}" = "true" ]; then
1111
gcloud container clusters update ${GKE_CLUSTER_NAME} --enable-master-authorized-networks --master-authorized-networks=${CURRENT_AUTH_NETWORK}
1212
fi
1313

14-
gcloud compute instances delete ${RESOURCE_NAME} --project=${GKE_PROJECT} --zone=${GKE_CLUSTER_ZONE}
15-
gcloud compute firewall-rules delete ${RESOURCE_NAME} --project=${GKE_PROJECT}
14+
gcloud compute instances delete ${RESOURCE_NAME} --quiet --project=${GKE_PROJECT} --zone=${GKE_CLUSTER_ZONE}
15+
gcloud compute firewall-rules delete ${RESOURCE_NAME} --quiet --project=${GKE_PROJECT}

0 commit comments

Comments
 (0)