Google Cloud Build不使用我的超时设置

问题描述

我的构建通常需要超过10分钟才能完成,这是Google Cloud构建的认设置。尽管将app / cloud_build_timeout设置为大于10分钟,但它们仍保持10分钟的超时时间。我已经尝试过此answer的两个建议。都没有工作。这是我的cloudbuild.yaml文件

steps:
  - name: node:10.15.1
    entrypoint: yarn
    args: ['install']
  - name: node:10.15.1
    entrypoint: yarn
    args: ['build-config']
  - name: node:10.15.1
    entrypoint: echo
    args: ["$(printenv) | tr ' ' '\n' > .env && cat .env"]
  - name: 'gcr.io/cloud-builders/gcloud'
    entrypoint: 'bash'
    args: ['-c','gcloud config set app/cloud_build_timeout 1200 && gcloud app deploy']
timeout: 2400s

为什么我的构建仍在超时?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)