This all is 100% open source, so if you would like to contribute, feel free to edit this page.



Tekton Infra Setup

Tekton is a modern, cloud-native continuous integration and delivery (CI/CD) system designed to run on Kubernetes. It provides a flexible framework for building, testing, and deploying applications through reusable, composable pipelines. Tekton uses Kubernetes-native resources, making it scalable, portable, and well-suited for cloud-based environments. Its pipeline-as-code approach allows developers to define workflows in YAML, which enhances flexibility and version control integration.

Running Tekton on OpenShift is advantageous because OpenShift’s Kubernetes foundation ensures seamless integration, leveraging Tekton’s cloud-native architecture. OpenShift provides enhanced security, multi-tenancy, and developer tools, making it easier to manage and scale Tekton pipelines. Moreover, OpenShift’s ability to manage containerized workloads and its support for GitOps workflows make it an ideal platform for running Tekton in production environments.

In this section we will install Tekton on OpenShift.

Installation

In order to install and configure Tekton on OpenShift you will need to execute the following steps, as you can find back in the default script_init_cluster.sh script:

You then should be able to see the pipeline and pipeline run in OpenShift:

Tekton

Tekton

!!! Important: Check that the label is set in the Tekton configuration (for me, dev-hub-test-demo), as you will need it in the Developer Hub configuration:

Tekton