Using OpenShift Without Git

“Last November we launched a new feature giving users the ability to do rollbacks and binary deployments. One downside to binary deployments is losing the build and dependency resolution that makes PaaS so awesome. So in this blog post we’re going to abuse the deploy/pre_start scripts, and deployment framework to completely bypass git.

Why would we want to do this? Ocassionally people dislike using git, or the more common case, an enterprise IT policy forbids its use. I wouldn’t recommend the steps below, but they work while giving some interesting insights into what’s going on behind the scenes…”