2015-01-12 98 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存儲庫。