cloudbuild.yaml "gcloud app deploy" 有什么用?
What cloudbuild.yaml "gcloud app deploy" uses?
题目基本都说了
我正在使用 gcloud app deploy
,但我想调整构建过程,有没有办法获取默认使用的 cloudbuild.yaml 文件以从中开始?
如果您已经部署了应用以查找“cloudbuild.yaml”文件,请按照以下步骤操作:
- 开云shell.
- 在云端 Shell window 菜单栏点击 'Open Terminal' 然后点击 'Open in a New Window'。
- 在新的编辑器 window 中,左侧窗格中有搜索选项,用它来查找文件。
要创建基本的构建配置文件,请遵循本指南:
https://cloud.google.com/build/docs/configuring-builds/create-basic-configuration
题目基本都说了
我正在使用 gcloud app deploy
,但我想调整构建过程,有没有办法获取默认使用的 cloudbuild.yaml 文件以从中开始?
如果您已经部署了应用以查找“cloudbuild.yaml”文件,请按照以下步骤操作:
- 开云shell.
- 在云端 Shell window 菜单栏点击 'Open Terminal' 然后点击 'Open in a New Window'。
- 在新的编辑器 window 中,左侧窗格中有搜索选项,用它来查找文件。
要创建基本的构建配置文件,请遵循本指南:
https://cloud.google.com/build/docs/configuring-builds/create-basic-configuration