Introducing OpenShift Pipelines

On May 3, 2021, Red Hat released the first public version of OpenShift Pipelines, a cloud-based continuous integration system based on the Tekton open source project . The solution implements the Kubernetes CI / CD framework for developing and executing pipelines, in which each step runs in its own container, allowing steps to scale independently of each other. Today we will take a quick look at the key features and benefits of this solution, as well as provide a list of additional resources for further acquaintance with it and mastering it.





But before moving on to OpenShift Pipelines, let's brush up on the core Tekton concepts.





Basic concepts of Kubernetes-native CI / CD

OpenShift Pipelines augments Kubernetes / OpenShift with appropriate CRDs (User Defined Resources) for CI / CD concepts such as pipeline, task, step. As a result, these concepts become “native” instantiable - they can be created as separate instances and, as a result, fully scaled and deployed, as well as ensure their security using Kubernetes tools.





Therefore, to begin with, let's remember what Tekton concepts are:





Fig.  1. Tekton Concepts
Fig. 1. Tekton Concepts

Basically, Tekton's core concepts come in two flavors: those that define the pipeline and those that start the pipeline.





Concepts that define a pipeline





  • Task – (step), , , .





  • Pipeline – (Task), .





, (run pipelines)





  • TaskRunTask.





  • PipelineRun – , TaskRun.





.





, OpenShift Pipelines





OpenShift Pipelines?

OpenShift Container Platform – Kubernetes- , , CI/CD.





OpenShift Pipelines - Tekton OpenShift , .





OpenShift Pipelines Operator

OpenShift Pipelines , , , , .





OpenShift Pipelines OperatorHub, 450 OpenShift Container Platform:





OpenShift Pipelines , , :





OpenShift Pipelines OpenShift CR, OpenShift ..





OperatorHub OpenShift Pipelines, , .





UI OpenShift

Tekton OpenShift CI/CD, YAML-, , . Red Hat OpenShift UI ( , , , ), . YAML- , - .





, OpenShift, :





Fig.  2. Pipelines in the OpenShift console
. 2. OpenShift

:





, OpenShift Pipelines OpenShift, YAML, Tekton:





Fig.  3. Graphic design of the conveyor in the OpenShift console
. 3. OpenShift

, YAML, - , OpenShift:





Fig.  4. YAML - examples and snippets in the OpenShift console
. 4. YAML – OpenShift

, OpenShift Pipelines , YAML, YAML. , , . CRD ConsoleYAMLSamples.





( Tekton Trigger), , push- pull- Github Gitlab? , OpenShift Pipelines , , Github, Gitlab, BitBucket ..





Fig.  5. Adding a trigger in the OpenShift console
. 5. OpenShift

UI, OpenShift , EventListeners, TriggerTemplates ( ).





OpenShift Pipelines , , , , java, dotnet core, python go, nodejs maven, .. OpenShift, ClusterTasks, Pipelines -> Tasks:





Fig.  6. OpenShift Pipelines offers dozens of ready-made tasks out of the box
. 6. OpenShift Pipelines

, . «ClusterTasks» , TektonHub, Tekton:





Fig.  7. TektonHub - public repository of reusable Tekton tasks and pipelines
. 7. TektonHub – Tekton

IDE

, IDE, Tekton CLI, Tekton Visual Studio Code Tekton IntelliJ, , , .





Fig.  8. VSCode Extension for OpenShift Pipelines
. 8. VSCode OpenShift Pipelines

:





(EN):





  • Red Hat OpenShift Pipelines OpenShift GitOps





  • C OpenShift Pipelines





  • OpenShift Pipelines





  • OpenShift Pipelines





  • Siamak Sadeghianfar, - OpenShift Pipelines





  • Guide to OpenShift Pipelines Red Hat OpenShift





:









  • Tekton ( )





:





  • 1 . Red Hat Advanced Cluster Security –

     Red Hat Advanced Cluster Security, . Red Hat BCC , Advanced Cluster Security , . « » , , ,





  • 17 . 

    ,  OpenShift  Helper Node Day-2,  -, , , OpenShift .





  • OpenShift Serverless ( )





  • OpenShift Virtualization ( )





  • Cloud native apps design ( )





  • 10  ( )








All Articles