Fix
parent
4c23cfce47
commit
96ee7ea575
|
|
@ -137,5 +137,5 @@ jobs:
|
||||||
path: k8s-volume-download
|
path: k8s-volume-download
|
||||||
- run: |
|
- run: |
|
||||||
pods=$(kubectl get pods -o json | jq '.items | .[].metadata.labels' | jq 'select("app", "unity-builder")')
|
pods=$(kubectl get pods -o json | jq '.items | .[].metadata.labels' | jq 'select("app", "unity-builder")')
|
||||||
[ -z pods ] || gcloud container clusters delete ${{env.GKE_CLUSTER}} --zone $GKE_ZONE --project $GKE_PROJECT --quiet
|
if [ -z pods ]; then gcloud container clusters delete ${{env.GKE_CLUSTER}} --zone $GKE_ZONE --project $GKE_PROJECT --quiet; fi
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue