Tekton is a Google-developed open-source framework for creating continuous integration and deployment (CI/CD) systems. With Tekton, you may build, test, and deploy code across a variety of environments in an easy, quick, and standardized way.
Tekton is Kubernetes-native and works well with widely-adopted CI/CD solutions, such as Jenkins/Jenkins X, Skaffold, and Knative. It is flexible, and supports many advanced CI/CD patterns, including rolling, blue/green, and canary deployment.
In this scenario, you will build a basic CI/CD workflow with Tekton that fetches code from GitHub, runs all the tests, builds the code into an app, and deploys to a Kubernetes cluster.
Note: You can use the resize button on the top-right corner of this scenario to switch to full-screen mode.
You have successfully completed this scenario.
To learn more about Tekton, check out more interactive tutorials Tekton offers or visit tekton.dev.
Getting started with Tekton
To build a CI/CD system with Tekton, you need to specify a Tekton pipeline. A pipeline consists of one or more Tekton tasks, each of which may include several steps. Additionally, a task may take some pipeline resources as inputs and outputs.
For example, if you plan to build a CI/CD system that builds source code from your GitHub repository into a container image, the Tekton pipeline may look as follows: