Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
A simple Tekton pipeline to clone a Git repository and run tests.
# tekton/demo/pipeline.yaml
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: simple-pipeline
spec:
tasks:
- name: fetch-repo
taskRef:
name: git-clone
params:
- name: url
value: https://github.com/example/repo.git
- name: run-tests
taskRef:
name: kubectl-run
params:
- name: script
value: |
cd repo && npm install && npm testTekton Pipelines is an open-source Kubernetes-native framework for creating CI/CD systems. It defines pipelines as Kubernetes custom resources that describe tasks, dependencies, and workflow orchestration.
Origin & Creator
Created by the Continuous Delivery Foundation (CDF) in 2018 to standardize CI/CD on Kubernetes.
Industrial Note
Widely used in cloud-native environments, Kubernetes-native DevOps, GitOps workflows, automated testing, and continuous delivery of microservices.