-
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
[TEP 0075, 0076]: Structured object / arrays in Results and Params #4723
Comments
/assign @Yongxuanzhang |
@dibyom: GitHub didn't allow me to assign the following users: Yongxuanzhang. Note that only tektoncd members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. 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. |
/assign @Yongxuanzhang |
/assign |
Do we miss |
It may be worth discussing the support for custom tasks when we finish these two teps |
+1 I will organize a list of extended items for the two TEPs |
All the features listed not in "Future Work" section are finished |
...
status:
...
taskRunResults:
- name: IMAGE_URL
value: gcr.io/foo/bar
- name: IMAGE_DIGEST
value: sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b7
... status:
...
taskRunResults:
- name: image1
value:
uri: gcr.io/foo/bar
digest: sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b7
- name: ARTIFACT_OUTPUTS
value:
- image1
- maven_pkg
... |
Feature request
The issue will track the implementation for TEP-0075 Propose object (dicitonary) param and result types and TEP-0076 Propose array results and indexing
The two docs are in the process of review to get to Implementable states (tektoncd/community#661)
Use case
Will have a more detailed use case summary, but please refer to the use cases mentioned in TEP-0075 Propose object (dicitonary) param and result types and TEP-0076 Propose array results and indexing
To summarize, we want to change the params to be supporting the following:
Params will affect the following:
We also want to change the results to be supporting objects and arrays in Pipeline Results and Task Results.
Results will affect the following:
Below an example to specify a object param in Tasks and using its key1 and image1 value, and also specify a object in Task results and use script to write the results:
Below an example to specify a object param in TaskRuns:
Below an example to specify a object param in PipelineRun and use it as a whole in tasks:
Below an example to specify a object param in a Task inPipelineRun and use it as a whole in:
General Implementation Requirements
Task Breakdowns
Future Work and Discussions
results.result1
andparams.param1
(Discussion about disallowing usage of object/array param/result as a whole in format: results.result1 or params.param1 (without star reference) #5078)The text was updated successfully, but these errors were encountered: