We have multiple repositories that have multiple deployments in K8S. Today, we have Tekton with the following setup:
- We have 3 different projects, that should be build the same and deploy (they are just different repo and different name)
- We defined 3 Tasks: Build Image, Deploy to S3, and Deploy to K8S cluster.
- We defined 1 Pipeline that accepts parameters from the PipelineRun.
Our problem is that we want to get Webhooks externally from GitHub and to run the appropriate Pipeline automatically without the need to run it with params. In addition, we want to be able to have the PipelineRun with default paramaters, so Users can invoke deployments automatically.
So - is our configuration and setup seems ok? Should we do something differently?
This sounds ok. The GitHub webhook initiates
PipelineRuns
of yourPipeline
through aTrigger
. But yourPipeline
can also be initiated by the users directly in the cluster, or by using the Tekton Dashboard.