[cf-dev] Is it possible to use git push to deploy applications on CF

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[cf-dev] 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

_______________________________________________
cf-dev mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Is it possible to use git push to deploy applications on CF

Alan Moran
Hi Kinjal,

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 <[hidden email]> wrote:

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
_______________________________________________
cf-dev mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


_______________________________________________
cf-dev mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Is it possible to use git push to deploy applications on CF

Alexander Lomov
Hey. 

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]



------------------------
Alex Lomov
Altoros — Cloud Foundry deployment, training and integration
Twitter: @code1n GitHub: @allomov

On Wed, May 13, 2015 at 10:04 AM, Alan Moran <[hidden email]> wrote:
Hi Kinjal,

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 <[hidden email]> wrote:

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
_______________________________________________
cf-dev mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


_______________________________________________
cf-dev mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev



_______________________________________________
cf-dev mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Is it possible to use git push to deploy applications on CF

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 <[hidden email]> wrote:
Hey. 

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]



------------------------
Alex Lomov
Altoros — Cloud Foundry deployment, training and integration
Twitter: @code1n GitHub: @allomov

On Wed, May 13, 2015 at 10:04 AM, Alan Moran <[hidden email]> wrote:
Hi Kinjal,

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 <[hidden email]> wrote:

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
_______________________________________________
cf-dev mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


_______________________________________________
cf-dev mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev



_______________________________________________
cf-dev mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev



_______________________________________________
cf-dev mailing list
[hidden email]
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev