With Red Hat OpenShift 4.1, we are proud to release the developer preview of OpenShift Pipelines to enable creation of cloud-native Kubernetes-style continuous integration and continuous delivery (CI/CD) pipelines based on the Tekton project. 

Why OpenShift Pipelines?

OpenShift has long provided an integrated CI/CD experience based on Jenkins which is actively used by a large percentage of the OpenShift users. While Jenkins has been a popular choice as a CI engine for many teams, it was designed before the existence of cloud-native paradigms which made it difficult to run in containerised environments like Kubernetes. OpenShift Pipelines builds upon the Tekton project to enable teams to build Kubernetes-style delivery pipelines that they can fully control and own the complete lifecycle of their microservices without having to rely on central teams to maintain and management a CI server, plugins, and its configurations.

While we plan to continue providing support for Jenkins images on OpenShift, we also want to address some of the challenges users have been facing to simplify running CI/CD pipelines on OpenShift. OpenShift Pipelines is the result of this endeavor and focuses on providing a cloud-native CI/CD experience that is built for containers and Kubernetes as a first-class platform. 

OpenShift Pipelines Benefits

OpenShift Pipelines allows teams to build, test and deploy their applications using cloud-native pipelines and take control of their application lifecycle.

Kubernetes style pipelines: Create pipelines using standard Kubernetes CRDs that are portable across Kubernetes distributions.

Runs serverless: Create and run pipelines, period. No CI/CD server to manage and maintain.

Deploy to multiple platforms: Your pipelines run on Kubernetes, but you can deploy to many Kubernetes, VMs and serverless platforms from the pipeline.

Build images with Kubernetes tools: You can use the build tool of your choice for building images. Source-to-Image (S2I), Buildah and Dockerfiles, Jib, Kaniko and more.

Developer tools: Command-line tool to interact with the pipelines in addition to integrations with OpenShift developer console and IDE plugins.

What is Tekton?

Tekton is an open source project that provides a standard terminology, Kubernetes-style resources and building blocks for creating serverless CI/CD pipelines on Kubernetes. It was born out of Knative Build, a rudimentary framework initially created for building container images to be deployed as Knative serverless applications. 

As the interest in Knative Build and use cases that latched to it expanded, Tekton was created as a standalone project to focus on CI/CD use cases and provide an open, standard and native Kubernetes CI/CD solution. Tekton since then has grown into a popular and fast-moving project driven by many contributors. It is governed by the Continuous Delivery Foundation which was formed recently as an industry-effort to define the practices, guidelines and standards related to continuous delivery.

Pipeline Concepts

Tekton defines a set of Kubernetes custom resources (CRD) as standard constructs for creating CI/CD pipelines. The following is a brief introduction to these CRDs:

  • Task: A sequence of commands (steps) that are run in separate containers in a  pod.
  • Pipeline: A collection of tasks that are executed in a defined order.
  • PipelineResource: Inputs (e.g. git repo) and outputs (e.g. image registry) to a pipeline.
  • TaskRun: Runtime representation of an execution of a task.
  • PipelineRun: Runtime representation of an execution of a pipeline.

Create Your First Pipeline

OpenShift Pipelines is available in the Red Hat OpenShift 4.1 OperatorHub and gets installed on the cluster via an operator. To give OpenShift Pipelines a try, get an OpenShift 4.1 cluster via cloud.redhat.com, then follow this tutorial to build your first cloud-native pipeline.

For feedback and questions you can reach us on #openshift-pipelines channel on the Tekton Slack.

What's Next?

OpenShift Pipelines, although functional, is not yet full-featured and is released as Developer Preview in order for users to get experience with Tekton. 

We plan to continue to work with the Tekton community to push the project forward and to create a user experience around it with a rich user interface, additional integrations, extensions, and developer tooling to simplify creating and using CI/CD pipelines across existing and new projects.

Stay tuned for upcoming releases soon!

 


저자 소개

Siamak Sadeghianfar is a member of the Hybrid Cloud product management team at Red Hat leading the cloud-native application build and delivery on OpenShift.

UI_Icon-Red_Hat-Close-A-Black-RGB

채널별 검색

automation icon

오토메이션

기술, 팀, 인프라를 위한 IT 자동화 최신 동향

AI icon

인공지능

고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트

open hybrid cloud icon

오픈 하이브리드 클라우드

하이브리드 클라우드로 더욱 유연한 미래를 구축하는 방법을 알아보세요

security icon

보안

환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보

edge icon

엣지 컴퓨팅

엣지에서의 운영을 단순화하는 플랫폼 업데이트

Infrastructure icon

인프라

세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보

application development icon

애플리케이션

복잡한 애플리케이션에 대한 솔루션 더 보기

Virtualization icon

가상화

온프레미스와 클라우드 환경에서 워크로드를 유연하게 운영하기 위한 엔터프라이즈 가상화의 미래