-
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
Pipeline Results #1950
Comments
I have a patch for this one. Works pretty well. The only thing I am not sure is how to add a test case that checks pipeline runs get results. |
@sbwsg @bobcatfish I opened PR #2178 for this issue. Let me know there what you think. |
Marking as closed, since #2178 is now merged. |
Thanks for linking to this from #2178 @sbwsg - I'm still not 100% clear on what the use cases are for this, is it possible to get a CI/CD example for this one even though we've finished working on it? In the example above, it seems like the information in the pipeline level result will be available in the status of the pipeline overall with or without pipeline level results. Task level results seemed to fill 2 needs:
It seems like Pipeline level results are doing something like (2) but the values are available even without them - is this required for UI use cases? |
I'm going to rope in @skaegi here to hopefully provide a bit more meaningful info because I don't have particularly concrete use-cases. I think you're right that we haven't documented them at all for this feature. I think UI is one potential use-case but as you mentioned the results in the TaskRun statuses already appear in the PipelineRun status. Another potential use I see at the moment relates to the tentative ideas we have for Pipelines-runnning-Pipelines: the results of a sub-pipeline could be passed on to subsequent tasks / sub-pipelines. This still doesn't really totally justify the inclusion of this feature now though. |
Expected Behavior
A Pipeline should be able to declare a list of results that should be emitted by any executed Tasks of that Pipeline.
Actual Behavior
At the moment the results of Tasks in a Pipeline will be buried in the TaskRuns' Status fields.
Steps to Reproduce the Problem
Additional Info
Task Results were introduced in issue #1273
Here's an example of the kind of YAML we'd like to be able to support, as proposed by @skaegi in #1273. Notice that the Pipeline declares the results that it will emit and uses variable substitution to indicate which tasks those pipeline results come from:
The text was updated successfully, but these errors were encountered: