Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploying to Google App Engine using 'gcloud app deploy' gets stuck

gcloud app deploy hangs on deployment with no log messages explaining why. How can I debug this issue?

I have two .yaml files and a dispatch.yaml file. This is the command I am running:

gcloud app deploy web_app.yaml rest_app.yaml dispatch.yaml --verbosity=debug
like image 618
user462455 Avatar asked Dec 02 '16 03:12

user462455


People also ask

How long does Gcloud app deploy take?

When firing of gcloud preview app deploy the whole process takes ~8 minutes, most of which is "updating service".

How does Gcloud app deploy work?

The deployment command automatically builds a container image by using the Cloud Build service and then deploys that image to the App Engine flexible environment. The container will include any local modifications that you've made to the runtime image. To programmatically deploy your apps, use the Admin API.


1 Answers

This was fixed when I updated gcloud.

gcloud components update

This is really bad UX, and I wish gcloud would have asked me to update instead of freezing app deploy

like image 176
user462455 Avatar answered Sep 22 '22 01:09

user462455