With the BlueMix Eclipse plugin I can create an app from scratch, and then push it, create the necessary services, bind it to those services and start the app. In DevOps I see where you can Deploy or Auto Deploy but I don't see where you can easily define services or bind them to your project.
What's the recommended procedure for getting DevOps/JazzHub projects that require Bluemix services up and running in Bluemix? Do I have to create the services in Bluemix and then manually edit the manifest file in DevOps/JazzHub?
Answer by Szymon Brandys (1257) | May 09, 2014 at 09:48 AM
In manual deploy (from WebIDE) you still can use manifest version v5 which allows to create services together with the app during deployment. However if you use manifest version v6, you have to, as you said, "create the services in BM and then manually edit the manifest file in DevOps/JazzHub" at this moment.
Advanced auto deploy supports only v6 afaik, so there you also have to create services prior to deployment and edit the manifest file.
If you have suggestions on what you'd like to see or a work flow that would help you please share. Thanks.
Answer by anton-mcconville (11) | May 09, 2014 at 03:01 PM
I'm working on an app that uses a mongo database.
What worked for me was to create the app at BM, and add the database there, then add the database service to my manifest - being careful to choose the unique mongo database name.
You can take a look at my manifest file, and package file here if you want an example:
Answer by LinusHelmestam (272) | May 12, 2014 at 03:27 AM
Yes, that is correct. Since creation of services normally is done once, the recommendation is to not do it together with deployment. So, either create it from the Bluemix web interfaace, or use cf commands to create it.
Deploy has stopped working 1 Answer
Build failure:Fatal error: Unable to find local grunt (Node.js and DevOps Services Build) 1 Answer
What controls the builder configuration when editing the Configure Pipeline for DevOps Services? 1 Answer
How to trigger Ant Build with Jazz Web IDE "Deploy As" button? 2 Answers