During the section we'll install tekton pipelines & tekton triggers to the cluster.
- Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines.
- Tekton Triggers project allows you to extract information from events payloads (a "trigger") to create Kubernetes resources.
This tutorial was tested with tekton-pipeline v0.20.1
and tekton-releases v0.11.1
. The installation steps are pinned with those versions.
# install tekton pipeline
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.20.1/release.yaml
# install tekton releases
kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.11.1/release.yaml
monitor pods are running:
kubectl get pods --namespace tekton-pipelines --watch
If you want to learn more about the steps involved in this section, here are some interesting references:
- tekton pipelines installation: Installation guide of tekton pipelines and further configuration.
- tekton triggers installation: Installation guide of tekton triggers.
Once tekton is installed, see the Install Build Task tutorial.
If you want to tear down the tekton installation:
# uninstall tekton releases
kubectl delete -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.11.1/release.yaml
# uninstall tekton pipeline
kubectl delete -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.20.1/release.yaml