Skip to content

Commit 0004ced

Browse files
author
Augment Agent
committed
chore: remove MIG stabilization wait step to speed up deployment
1 parent 85de53b commit 0004ced

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/deploy-staging.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -184,26 +184,6 @@ jobs:
184184
--max-unavailable=1 \
185185
--project=${{ env.PROJECT_ID }}
186186
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-
207187
- name: Clean up old instance templates
208188
if: success()
209189
run: |

0 commit comments

Comments
 (0)