我们希望使用Google App Engine PHP Runtime与Bitbucket的新源代码进行持续集成。我们想使用云SQL
我们无法部署或运行项目。
到目前为止,我们输入gcloud init,它将源代码中的所有文件复制到默认文件夹中。
之后进入project-id.appspot。com重定向到https://project-id.appspot.com后打开这个
云存储服务
Google Cloud Datastore是一个完全管理的无模式数据库存储非关系数据
如果您不希望看到这个页面,请查看激活
是否有可能实现这种集成与应用引擎PHP运行时-云SQL和源代码是从Bitbucket克隆的?
将源代码推送到部署的工作原理是,当我们将更新推送到Bicbucket中的主分支时,它会自动在Google Cloud源代码中更新。
应用程序。
application: project-id
version: 1
runtime: php
api_version: 1
handlers:
- url: /.*
script: index.php
更新:应用程序引擎应用程序是实时的https://dentem-dot-dentem-network.appspot.com/
应用程序。为那些需要的人提供更正!
application: project-id
version: 1
runtime: php55 //Has to be php55 in order to work
module: my-module //You have to declare a module in order for the app to run
api_version: 1
编辑:为了实现与Google App Engine的持续集成,文档很糟糕。现在一切都好了。
Google更新了他们的文档。为了实现我们想要的,你现在可以使用这个Jenkins Push-to-Deploy。
文档https://cloud.google.com/tools/repo/push-to-deploy