【发布时间】:2020-11-26 02:15:49
【问题描述】:
当我尝试通过 Cloud Build 将 Python 代码部署到 Google App Engine (GAE) 时,我收到以下错误消息:
ERROR: An app.yaml (or appengine-web.xml) file is required to deploy this directory as an App Engine application
ERROR: (gcloud.app.deploy) [/workspace] could not be identified as a valid source directory or file.
ERROR: build step 0 "gcr.io/google.com/cloudsdktool/cloud-sdk" failed: step exited with non-zero status
有人能解释一下导致这个错误的原因吗?
【问题讨论】:
-
详细信息在哪里?
-
你能分享更多关于你的代码树、你的构建步骤......
-
结构是源码,app.yaml和cloudbuild.yaml
标签: python google-app-engine google-cloud-platform google-cloud-build google-cloud-sdk