Application build using OpenShift Pipelines and S2I
For this step, we are going to use the quarkus-build
pipeline that you can find in the chapter14/Build/Pipeline/quarkus-build.yaml
file. This pipeline is very straightforward and explained in the following diagram:
Figure 14.2 – Pipeline to build a Java Quarkus application
In this pipeline we are using pre-existing ClusterTasks to do all the work:
git-clone
: Used to clone the Git repository.s2i-java
: Build the Java source code using S2I and Buildah to generate the image and push it to the Quay registry. S2I is a very convenient way to build code from many different languages, such as Java, Python, Node.js, and others. See the Further reading section of this chapter for more information about S2I.openshift-client
: Used to run the manifests that deploy the application. Application manifests use Kustomize to declare the Kubernetes manifest. We covered Kustomize in Chapter 10, OpenShift...