-I have a Git repository on DevOps Services. -Clone the repo to my Eclipse(using EGit) with the BlueMix for Eclipse Beta Tools installed. -Made a change to the code. -Commit the change to the repo using EGit. -Deploy to BlueMix using the tools.

The thing is, I need to commit and then deploy, but without the tools, if I have configured auto-deployment on the DevOps Services project, after the commit it is automatically deployed to BlueMix in just one step.

And if I don't have a DevOps Services repository, using the tools I deploy the project from my local machine to BlueMix directly, so, how can other people collaborate with my project?

1 reply

Git integration with DevOps Services can be set up to autodeploy your application when you push to your repo. You can use whatever method you like to push to Git. The most popular ways are EGit for eclipse or git from command line.

Eclipse has a BlueMix plugin. You can install this and deploy your apps in a way very similar to how eclipse tomcat server integration works.

CloudFoundry has a command line that you can use to push your apps from your local system. This command line client runs on any OS as far as I know (personally tested on Windows and Ubuntu Linux).

You can enable collaboration within BlueMix by adding your team to your Org. They will then be able to see your apps and services (you have to grant them permission to access individual Spaces inside the Org as well). You can all share the same SCM and same Org in BlueMix. You can work out your own collaboration using the different methods of pushing to BlueMix. Remember that apps and services are bound to a space, so you can have your developers working in a dev space completely separate from a psuedo-stable test space or a stable production space. The only thing shared globally are routes.

You could also use these different ways of pushing your app in harmony. For example, your developers can do their development work using the Eclipse plugin to push to a dev space, and when they have implemented a feature, they can push it to SCM, which could then run some quality control checks and automatically deploy to a separate test space.