Pipeline Definitions
During the creation and setup of a new k5-project, the following pipeline definitions are created.
Pipeline Templates
The k5-project-operator will create three pipeline templates as kubernetes resources inside your OpenShift project. These will be used for setting up a new pipeline:
-
k5-template-build-managed-java
-
k5-template-build-managed-node
-
k5-template-deploy
Task Definitions
A task is a collection of sequential steps that will be executed during a pipeline run. Each task of a pipeline will run inside an own pod on the cluster. Each step will be executed in an own container inside the pod. For example if a pipeline consists of two tasks and the pipeline will be executed, OpenShift Pipelines will create two pods, one for each task.
The k5-project-operator will create four pipeline tasks as kubernetes resources inside your OpenShift project. These are used by the different types of pipelines and solutions.
-
k5-build-managed-java
-
k5-build-managed-node
-
k5-deploy
-
k5-delete
A Build & Deploy pipeline consists of the two tasks
k5-build-managed-[solution-type]
and k5-deploy
.
The Deploy pipeline includes only the task k5-deploy
.
The k5-delete task is responsible for solution deletion from target project.