File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,15 +9,14 @@ gcloud components update
99source " $HOME /google-cloud-sdk/path.bash.inc"
1010gcloud version
1111
12- # Remove orphaned firewall rules and networks generated by unintentional aborted runs of
13- # google-cloud-node on gapic-test project: see
14- # https://github.com/GoogleCloudPlatform/google-cloud-java/issues/2118
15- firewalls=$( gcloud compute firewall-rules list | cut -f 1 -d ' ' | grep ' ^gcloud-tests' )
12+ # Remove orphaned firewall rules and networks presumed generated by interrupted runs of Compute
13+ # integration tests: see https://github.com/GoogleCloudPlatform/google-cloud-java/issues/2118
14+ firewalls=$( gcloud compute firewall-rules list | cut -f 1 -d ' ' | grep ' ^test-' )
1615if [[ $firewalls ]]
1716then
1817 echo ' Y' | gcloud compute firewall-rules delete $firewalls
1918fi
20- networks=$( gcloud compute networks list | cut -f 1 -d ' ' | grep ' ^gcloud-tests ' )
19+ networks=$( gcloud compute networks list | cut -f 1 -d ' ' | grep ' ^test- ' )
2120if [[ $networks ]]
2221then
2322 echo ' Y' | gcloud compute networks delete $networks
You can’t perform that action at this time.
0 commit comments