Configuring and doing binary deployments

So far, we have looked at how easy it is to perform Git-based deployments with OpenShift, where you perform a git push command, and OpenShift builds and deploys the application. This is ideal if you want to perform source-based deployments. It may be that you want OpenShift to also manage your source code using Git. But there are cases when developers do not want to push their source code to OpenShift servers. In those cases, you can use binary deployments to deploy your binary artifact. This is ideal when you want to deploy binary artifacts, such as a .war file, as Git is not an efficient means for storing binaries.

Getting ready

To step through this recipe, you will need rhc installed on your machine.

Get OpenShift Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.