Skip to content

gnaponie/tekton-demo

Repository files navigation

tekton-demo

Start minikube

minikube start

Before starting, we might want to clear up all old resources:

kubectl delete task,taskrun,pipeline,pr --all

Task

Create Task and check the outcome:

kubectl apply --filename task-example-1.yaml
kubectl get task

Create TaskRun and check the outcome:

kubectl apply -f taskrun-example-1.yaml
kubectl get taskruns
kubectl get pods
kubectl logs hello-task-run-pod

Pipeline

Create Pipeline and check the outcome:

kubectl apply -f task-example-2.yaml
kubectl apply -f pipeline-example-1.yaml
kubectl get pipeline

Create PipelineRun and check the outcome:

kubectl apply -f pipelinerun-example-1.yaml
tkn pipelinerun logs hello-goodbye-run -f

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors