Add metadata to pipelinerun to capture the complete pipeline definition #994
Labels
area/api
Indicates an issue or PR that deals with the API.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
It's currently impossible to reason on the exact pipeline definition, conditions, git and image urls used when a pipelinerun is executed given that pipelinerun includes references to pipeline, condition and pipeline resources which all can change after pipeline execution is complete.
This is specially difficult for building tooling around Tekton, for example causing graph visualisation of a completed pipelinerun change when the referenced pipeline is modified.
Adding metadata to the pipelinerun including the exact pipeline, conditions, and resources would allow to capture the exact state of the pipelinerun which won't change even if those referenced resources change. This can be done for example via adding annotations to
PipelineRun
An example of this is Helm Releases which embed the generated manifests from the Helm Chart inside the Helm Release to capture the exact resource definitions that are associated with a particular Helm Release, instead of referring to the chart given that the chart can change after the release was created.
The text was updated successfully, but these errors were encountered: