简体   繁体   English

我是否需要启用 App Engine Admin API 以进行部署?

[英]Do I need to enable App Engine Admin API for deployment?

On GCP, I run Cloud Build from one project and deploy code to App Engine in another project.在 GCP 上,我从一个项目运行 Cloud Build,并将代码部署到另一个项目中的 App Engine。 It looks like the project where build runs from needs to have App Engine Admin API enabled.看起来运行构建的项目需要启用 App Engine Admin API。 Is it a real request or I missed the real configurations?这是一个真正的请求还是我错过了真正的配置?

App Engine Admin API is required as it is used for any App Engine-related management operations App Engine Admin API是必需的,因为它用于任何与 App Engine 相关的管理操作

Also, based on the link above:另外,基于上面的链接:

The Admin API provides you with: Admin API 为您提供:

  • An integration point for your development and build tools.您的开发和构建工具的集成点。
  • Tighter control around deploying new versions, including the ability to automate traffic更严格地控​​制部署新版本,包括自动化流量的能力
  • migration between two versions or traffic splitting across one or more versions.两个版本之间的迁移或跨一个或多个版本的流量拆分。
  • The ability to programmatically manage applications across multiple Google Cloud projects.能够跨多个 GCP 项目以编程方式管理应用程序。

So yes, if you plan on deploying code to App Engine using Cloud Build, you need GAE Admin API enabled.所以是的,如果您计划使用 Cloud Build 将代码部署到 App Engine,则需要启用 GAE Admin API。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM