Skip to content

Commit

Permalink
Merge pull request #89791 from spiffxp/automated-cherry-pick-of-#8966…
Browse files Browse the repository at this point in the history
…4-upstream-release-1.16

Automated cherry pick of #89664: Allow list-resources.sh to continue if a resource fails to
  • Loading branch information
k8s-ci-robot committed Apr 6, 2020
2 parents 2cb6e53 + 2c44ba8 commit 965ed0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cluster/gce/list-resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ echo "Provider: ${KUBERNETES_PROVIDER:-}"

# List resources related to instances, filtering by the instance prefix if
# provided.

set +e # do not stop on error

gcloud-list compute instance-templates "name ~ '${INSTANCE_PREFIX}.*'"
gcloud-list compute instance-groups "${ZONE:+"zone:(${ZONE}) AND "}name ~ '${INSTANCE_PREFIX}.*'"
gcloud-list compute instances "${ZONE:+"zone:(${ZONE}) AND "}name ~ '${INSTANCE_PREFIX}.*'"
Expand All @@ -95,3 +98,5 @@ gcloud-list compute forwarding-rules ${REGION:+"region=(${REGION})"}
gcloud-list compute target-pools ${REGION:+"region=(${REGION})"}

gcloud-list logging sinks

set -e

0 comments on commit 965ed0c

Please sign in to comment.