Date
1 - 4 of 4
Is it possible to use git push to deploy applications on CF
Kinjal Doshi
Hi,
I would like to know if it is possible to deploy applications on cloud foundry using git push. Or is it that only CF CLI can be used for pushing applications? Thanks, Kinjal
|
|
Alan Morán <bonzofenix at gmail.com...>
Hi Kinjal,
toggle quoted messageShow quoted text
CF push does not support git input afaik. But It would be fairly simple to implement a cf-cli plugin that does that from the client side to offer a heroku-like experience. Regards, — Alan
On May 12, 2015, at 10:44 PM, Kinjal Doshi <kindoshi(a)gmail.com> wrote:
|
|
Alexander Lomov <alexander.lomov@...>
Hey.
toggle quoted messageShow quoted text
The simplest way to add this behaviour is to add `cf push` command to `.git/hooks/pre-push` executable file. The detail you can find in git docs [0] In this article you can find the possible reasons not to use `cf push` together with `git push` [1] [0] http://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks [1] http://blog.pivotal.io/pivotal-labs/labs/deploying-jruby-rails-application-cloud-foundry ------------------------ Alex Lomov *Altoros* — Cloud Foundry deployment, training and integration *Twitter:* @code1n <https://twitter.com/code1n> *GitHub:* @allomov <https://gist.github.com/allomov>
On Wed, May 13, 2015 at 10:04 AM, Alan Moran <bonzofenix(a)gmail.com> wrote:
Hi Kinjal,
|
|
Greg Oehmen
I have a story in the CF CLI backlog to look at a git style push:
https://www.pivotaltracker.com/story/show/90658212. Is there a lot of interest here? Greg Oehmen Cloud Foundry Product Manager 415.205.6596 On Wed, May 13, 2015 at 2:18 AM, Alexander Lomov < alexander.lomov(a)altoros.com> wrote: Hey.
|
|