本文介绍了Google App Engine:部署期间构建超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编辑:最好的Google Cloud.绝对没有做任何改变,但今天早上部署得很好.

Google Cloud at its finest. Made absolutely no changes but deployed fine this morning.

大约10m的部署后发生错误(尝试10次以上).

Error after ~10m of deployment (10+ deploy attempts).

我已经更改了应用程序,以添加少于10行代码的简单功能.它对库没有影响,仅使用本机python,因此我不确定它如何影响部署.

I've changed the app to add a simply function with less than 10 lines of code. It has no affect on libraries and uses native python only and hence I'm not sure how it can affect the deployment.

我已经测试过该应用,并且该应用在本地运行良好.

I've tested the app and it runs fine locally.

这是我得到的错误:

以前,日志不显示任何错误,实际上一切都按预期进行.

Previously to that, logs don't show any errors, in fact everything is going as expected.

首先输入最新条目:

9302e2430a0e: Pushed
4f56eb74b6bf: Pushed
21df82f90a72: Layer already exists
f0e2b3558b28: Layer already exists
99c71ba2c817: Layer already exists
2483da9621d1: Layer already exists
af09d2110abe: Layer already exists
d968669f4b42: Pushed
4b1e707066a6: Layer already exists
55530b72c8c8: Layer already exists
62c169a7d462: Layer already exists

推荐答案

根据,您可以使用以下方法更改构建超时设置:

According to this you can change the build timeout setting with:

gcloud config set app/cloud_build_timeout 1000

在此示例中将其设置为1000秒.

Setting it to 1000 seconds in this example.

这篇关于Google App Engine:部署期间构建超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 08:32