cloudcommunity / tekton-simple-demo

A basic tekton demo pipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Overview

A basic demo to run a simple example of tekton pipelone

Pre-requisites

Running

Create the Resources for Task and Pipeline

kubectl apply -f task.yaml
kubectl apply -f pipeline.yaml

Running just the Task

To run a Task is necessary to create a TaskRun resource which runs the Task

kubectl create -f task-run.yaml

Running the Pipeline

To run a Pipeline is necessary to create a PipelineRun resource which runs the Pipeline. If your Pipeline use some resources like a repository or docker images, you nee to create a PipelineResource.

kubectl create -f pipeline-run.yaml

Tekton documentation: https://tekton.dev/

About

A basic tekton demo pipeline