Learning OpenShift builds
In the previous chapters, we did some serious magic in order to build our application. To be able to run the builds, we executed the following command:
oc create -f https://raw.githubusercontent.com/wildfly-swarm/sti-wildflyswarm/master/1.0/wildflyswarm-sti-all.json
In previous chapters, when we wanted to build our application, we invoked the following command:
oc new-app wildflyswarm-10-centos7~https://github.com/PacktPublishing/Hands-On-Cloud-Development-with-WildFly.git (...)
After a lot of mysterious stuff had happened (as indicated by growing logs), we were able to see our application working. Now, it's time to explain what actually happened under the hood. Let's get to know OpenShift builds.
In general, an OpenShift build is an operation that transforms input parameters into a resulting object that is used to start an application. In most cases, the build will transform the source code into an image that will be later deployed on the cluster.
The details of the...