1

谷歌提供的git - >应用程序引擎混帐< - >源代码仓库,所以想必某处它提供源库 - >应用程序引擎如何从Google Cloud Source Repository直接部署到Google App Engine?

但我无法找到哪里...即使在两次阅读所有源代码库和App Engine文档后,我都可以找到它。 https://cloud.google.com/source-repositories/docs/

我猜想程序可能是How to manually deploy direct from Bitbucket to Google App Engine?修改为访问SR文件。但是我可以在GCS虚拟机中找到SR文件。

删除所有$ HOME文件夹找我干什么

enter image description here

...对在源显示的文件没有任何影响:

enter image description here

百思不得其解。

回答

4

要做到这一点,最好的方法是将存储库克隆到您的机器(或云端Shell),然后使用App Engine部署工具(https://cloud.google.com/appengine/docs/php/getting-started/deploying-to-app-engine)来部署您的应用。

例如

gcloud source repos clone $REPO 
cd $REPO 
gcloud app deploy app.yaml 
+0

的问题问的直接:-)感谢反正间接选项。 – ChrisJJ

+0

直到我做出调整才开始工作。这些和更多的是在这里的答案http://stackoverflow.com/questions/37171916/how-do-i-deploy-to-gae-from-the-google-cloud-source-repository/40499674#40499674。 – ChrisJJ

相关问题