5
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

gcloud app deployが10分でタイムアウトしてしまう問題の解決方法

Posted at

cloudbuild.yaml に timeout:1200sを設定しているのにも関わらず、10分で必ずタイムアウトしてしまう...

原因はGoogle Cloud SDKの方にあったっぽい。。
gcloud config list --allで現在のアクティブな構成のCloud SDKプロパティ一覧を見ることができる

cloud_build_timeoutの項目を見てみると

[app]
cloud_build_timeout = (unset)

unsetだとデフォルトの10分が適用される。

gcloud config set app/cloud_build_timeout 1200
などと設定すればOK

[app]
cloud_build_timeout = 1200

参考
Google App Engine: Build Timed Out during Deployment
gcloud config list

5
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?