2015-01-12 101 views
0

是否有机会部署PHP应用程序抛出git推送?GAE PHP Git部署

我确实推送了master-origin,可以在Console-SourceCode-Browse(和BitBucket)中看到源码,但发布版本是空的(管道调整)。 我找不到git-deploy日志在哪里进行调试。

但在..编写的https://cloud.google.com/tools/repo/push-to-deploy#setting_up_a_release_pipeline“你可以在Java,Python和Go中使用Push-to-Deploy。”

但在SOF GAE php app Push-to-Deploy failed写道,它正在工作。我不明白哪里是真相)

总结, 是PHP应用程序可以部署抛Git(BitBucket)推? 以及部署日志的位置?

预先感谢大家!

PS:这是从网络部署的IDE像c9.io

回答

0

在写这篇文章的时候非常必要的,你应该能够使用Git部署应用程序引擎代码(我用它的几个应用引擎php项目)。

您可能遇到的常见错误是您的.yaml文件中有一个错误。您仍然可以提交和推送您的更改,但您的部署将失败。

这是从我的终端输出的时候我加了一些错误,我cron.yaml文件,并试图推动&部署

$ git push 
Counting objects: 5, done. 
Delta compression using up to 8 threads. 
Compressing objects: 100% (3/3), done. 
Writing objects: 100% (3/3), 336 bytes | 0 bytes/s, done. 
Total 3 (delta 1), reused 0 (delta 0) 
remote: Storing objects: 100% (3/3), done. 
remote: Processing commits: 100% (1/1), done. 
remote: Triggering release (if applicable)... 
remote: View results at:https://console.developers.google.com/project/.....(retracted) 
remote: Running... 
remote: Created deployment: appengineid.pipelines...(retracted) 
remote: Dispatched 
remote: Deployment failed. Details: Deployment failed, details: { Failed to load application, Line 3, column 26: Unable to find property 'alsdkjf;alksdfj schedule' on class: com.google.apphosting.utils.config.CronYamlReader$CronYaml, none 
To https://source.developers.google.com/p/AppEngineId/r/default 
8190aea..2dc6945 master -> master 

你应该能够看到一个类似的错误,当你推,或者你可能没有正确设置git存储库。