【问题标题】:How do I get rid of the GCP Cloud Build Timeout Error如何摆脱 GCP 云构建超时错误
【发布时间】:2019-10-29 02:13:58
【问题描述】:

您好,我正在为云构建提交配置,但它一直超时。

 gcloud builds submit --config cloudbuild.yaml . --timeout=500s

超时信息如下

Your build timed out. Use the [--timeout=DURATION] flag to change the timeout threshold.
ERROR: (gcloud.builds.submit) build 283b72fa-cef1-425d-b21e-7bf653d22e4b completed with status "TIMEOUT"

【问题讨论】:

标签: google-cloud-build


【解决方案1】:

你可以尝试几件事:

  • 如果您还没有增加标志的超时持续时间。
  • 不使用--timeout 标志,而是在cloudbuild.yaml 中添加timeout 字段。您可以为each stepwhole build 执行此操作。 Here你可以找到更多关于如何创建配置文件的信息。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-08-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多