gpt4 book ai didi

google-app-engine - appengine cloudbuild.yaml 是否需要自定义运行时?

转载 作者:行者123 更新时间:2023-12-03 15:57:05 26 4
gpt4 key购买 nike

使用以下输出构建错误(使用 Rails 应用程序)

ERROR: (gcloud.app.deploy) There is a cloudbuild.yaml in the current directory, and the runtime field in /workspace/app.yaml is currently set to [runtime: ruby]. To use your cloudbuild.yaml to build a custom runtime, set the runtime field to [runtime: custom]. To continue using the [ruby] runtime, please remove the cloudbuild.yaml from this directory.

最佳答案

解决此问题的一种方法是更改​​ cloudbuild.yaml 的名称。文件说cloud_build.yaml (您也可以只移动文件)然后转到 Cloud Build 中的触发器:

enter image description here

并将其从 Autodetected 更改为选择您的 Cloud Build configuration file手动:

enter image description here

看到这个 Github issue了解更多信息

关于google-app-engine - appengine cloudbuild.yaml 是否需要自定义运行时?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52555496/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com