You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As highlighted in @ImJasonH 's early design doc this opens up the possibility to refer to Tekton resources (bundles?) in other locations as well, specifically in this issue I'd like to request/propose we add support for referencing Tasks and Pipelines in git, e.g. something like:
I would like to set up a triggering system that uses my git repo as the source of truth for my Pipelines and Tasks, so that they can be versioned alongside my code, and so that I can make changes to these Pipelines and Tasks in my PRs that are picked up and used by CI
For example I could make a TriggerTemplate like:
apiVersion: triggers.tekton.dev/v1alpha1kind: TriggerTemplatemetadata:
name: run-testsspec:
params:
- name: commitishdescription: The commitish to grab the Pipeline from to rundefault: masterresourcetemplates:
- apiVersion: tekton.dev/v1beta1kind: PipelineRunmetadata:
generateName: run-tests-$(uid)-spec:
pipelineRef:
git:
url: https://github.com/my/repo# This would let me include any changes to the Pipeline in the PR testingcommit: $(params.commitish)path: path/to/my/pipeline.yaml
Additional info
We'll have to figure out how to provide credentials for this as well
We've been talking about whether or not our git-init cmd binary continues to live in this project ( + @sbwsg ), if we want git support in the Tekton Pipelines controller I wonder if it might stick around after all
The text was updated successfully, but these errors were encountered:
Feature request
Via #1839 we now support referencing versioned Tasks and Pipelines in OCI registries (https://github.com/tektoncd/pipeline/blob/master/docs/pipelines.md#tekton-bundles).
As highlighted in @ImJasonH 's early design doc this opens up the possibility to refer to Tekton resources (bundles?) in other locations as well, specifically in this issue I'd like to request/propose we add support for referencing Tasks and Pipelines in git, e.g. something like:
Use case
For example I could make a TriggerTemplate like:
Additional info
The text was updated successfully, but these errors were encountered: