Allow Tasks/Pipelines to indicate versions of Tekton Pipelines they work with #2588
Labels
area/api
Indicates an issue or PR that deals with the API.
kind/feature
Categorizes issue or PR as related to a new feature.
Expected Behavior
Before I try to use a Task or a Pipeline, I should know if it is compatible with my installation of Tekton Pipelines just by looking at it.
Actual Behavior
Right now the only indication is the
apiVersion
, currently with possible values ofv1alpha1
andv1beta1
. But additive changes can be made between releases.Steps to Reproduce the Problem
For example v0.12.0 introduces Pipeline level results, which are not present in v0.11.0, although they are both
v1beta1
. This means that defining a Pipeline which declares results and trying to use it against a v0.11.0 installation will fail. (We could work around this by allowing versions to ignore fields they don't recognize, but even in that case the expected behavior would not be present.)Additional Info
The text was updated successfully, but these errors were encountered: