push an app + services + something else


CF_genn <CF_subscription@...>
 

Hi collleagues,
assumed a CF user has an account somewhere on cf.mybestcloudsolution.com
where its app is running. The user has also an account on github where the
source code of the app is saved. The user (developer) would like to give a
possibility to other developers to install the app on their own. For
deploying a new user actually would like to do
git clone
cf push
But it is not enough, as e.g. some services hast to be bound or manifest
hast to be changed, or the project has to be built before, or the app has a
config file with an email address which has to be changed, etc..
How to automate this? Write a shell script that a new user will have to run?
Or this could/should be done by BOSH?

Thanks!






--
View this message in context: http://cf-dev.70369.x6.nabble.com/push-an-app-services-something-else-tp6899.html
Sent from the CF Dev mailing list archive at Nabble.com.


Daniel Mikusa
 

I've seen this done with shell / batch scripts before. The script would be
responsible for making sure that the services have been created and the
names match up with what is expected in the manfest file. Your users can
then just run the script to deploy.

I don't know if that's the best solution, but it works.

Hope that helps!

Dan


On Tue, May 23, 2017 at 1:55 PM, CF_genn <CF_subscription(a)streber24.de>
wrote:

Hi collleagues,
assumed a CF user has an account somewhere on cf.mybestcloudsolution.com
where its app is running. The user has also an account on github where the
source code of the app is saved. The user (developer) would like to give a
possibility to other developers to install the app on their own. For
deploying a new user actually would like to do
git clone
cf push
But it is not enough, as e.g. some services hast to be bound or manifest
hast to be changed, or the project has to be built before, or the app has a
config file with an email address which has to be changed, etc..
How to automate this? Write a shell script that a new user will have to
run?
Or this could/should be done by BOSH?

Thanks!






--
View this message in context: http://cf-dev.70369.x6.nabble.
com/push-an-app-services-something-else-tp6899.html
Sent from the CF Dev mailing list archive at Nabble.com.