-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add configuration types for built-in resolvers in ResolverRef #5549
Comments
cc @tektoncd/core-maintainers @chuangw6 - thoughts? |
/assign |
I am not sure I am too found of this approach, as I don't want for us to treat built-in resolvers any different from non built-in ones. |
Also, since this idea came out of discussion prompted by #4710 (comment), we could have a new field on
|
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
@abayer any updated on this issue? Its been rotten, do you want to bring it back out of rotten? Thanks! |
Trigger interceptors allow the param value to be structured objects . Though I now wish instead of param name/values, we just supported a single (This would address the syntax complexity issue, but not admission time validation) |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I keep thinking that it may make sense to eventually add real fields (with relevant structs) to
ResolverRef
for the built-in resolvers, so that you can just doRather than the more elaborate generic params approach of
We could only support the
git: ...
syntax for built-in resolvers, but for those, we'd be able to do admission control-time validation, a simpler syntax,PipelineRun
-wide defaults, etc.So
ResolverRef
would change from:to:
With these new structs:
The current
resolver: git
+params: ...
would still work for the built-in resolvers, and would be how third-party resolvers need to be used. At runtime,GetPipelineFunc
andGetTaskFunc
would know about these new config types, and would be able to produce aResolutionRequest
for a ref using one of them that would be identical to aResolutionRequest
created for a ref using the fullparams
syntax.(oh, and we get the
pipelineRef.git
in this scenario becausePipelineRef
andTaskRef
both inlineResolverRef
)/kind feature
The text was updated successfully, but these errors were encountered: