We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85de53b commit 0004cedCopy full SHA for 0004ced
.github/workflows/deploy-staging.yml
@@ -184,26 +184,6 @@ jobs:
184
--max-unavailable=1 \
185
--project=${{ env.PROJECT_ID }}
186
187
- - name: Wait for MIG to stabilize
188
- run: |
189
- set -euo pipefail
190
-
191
- for i in {1..30}; do
192
- STATUS=$(gcloud compute instance-groups managed describe ${{ env.MIG_NAME }} \
193
- --zone=${{ env.ZONE }} \
194
- --format="value(status.isStable)" \
195
- --project=${{ env.PROJECT_ID }})
196
197
- if [ "$STATUS" = "True" ]; then
198
- exit 0
199
- fi
200
201
- sleep 20
202
- done
203
204
- echo "MIG did not stabilize"
205
- exit 1
206
207
- name: Clean up old instance templates
208
if: success()
209
run: |
0 commit comments