【发布时间】:2016-11-07 03:38:01
【问题描述】:
要从 Bitbucket 存储库(名为 trackfind)上的更改源手动部署到 Google App Engine 应用程序(ID trackfind-1),我这样做:
1 转至https://console.cloud.google.com/home/dashboard?authuser=0&project=trackfind-1
2 点击激活 Google Cloud Shell:
3 输入rm -rf trackfind
4 输入git clone -b master https://chrisjj@bitbucket.org/chrisjj/trackfind.git
5 输入appcfg.py -V 1 -A trackfind-1 update trackfind
6 访问 trackfind-1.appspot.com 并验证更改是否到位。
我确信必须有一种更快、更直接的方式,例如避免每次都克隆存储库。 (我对间接方法不感兴趣,例如使用本地机器或额外的 VM 来运行,例如 Jenkins 等第三方工具。)
那是什么?
注意:我将 3 从 https://bitbucket.org/chrisjj/trackfind 编辑到 https://chrisjj@bitbucket.org/chrisjj/trackfind.git ,这样可以避免提示输入用户名。
【问题讨论】:
标签: google-app-engine bitbucket google-cloud-platform