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
feat(controller): Support per-output parameter aggregation. Fixes #2393 #4374
feat(controller): Support per-output parameter aggregation. Fixes #2393 #4374
Conversation
fd0551e
to
e7fd44c
Compare
e7fd44c
to
055058f
Compare
@Ark-kun please mark this as "Ready for Review" when it's so and I'll take a look |
@Ark-kun we're going to review some unfinished PRs to determine if we should finish them. Do you plan to continue on this, please? |
38638d2
to
f1bef2d
Compare
Currently Argo only supports the `{{tasks.<TASKNAME>.outputs.parameters.<NAME>}}` placeholder for the outputs of normal nodes. (For the outputs of the loop nodes there is the `{{tasks.<TASKNAME>.outputs.parameters}}` placeholder, which is replaced with JSON-serialized list of parameter value maps. This PR adds support for the `{{tasks.<TASKNAME>.outputs.parameters.<NAME>}}` placeholder for the outputs of the loop nodes. The placeholder is replaced with JSON-serialized list of parameter values. Signed-off-by: Alexey Volkov <alexey.volkov@ark-kun.com>
f1bef2d
to
252257a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM. Can we add a test please?
This would be great, but I have not found the tests for the main feature (parameter aggregation), so it looks like this will require non-trivial amount of work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add tests for both in a separate PR
Will we see this PR released in argo v2.13? |
Currently Argo only supports the
{{tasks.<TASKNAME>.outputs.parameters.<NAME>}}
placeholder for the outputs of normal nodes. (For the outputs of the loop nodes there is the{{tasks.<TASKNAME>.outputs.parameters}}
placeholder, which is replaced with JSON-serialized list of parameter value maps.This PR adds support for the
{{tasks.<TASKNAME>.outputs.parameters.<NAME>}}
placeholder for the outputs of the loop nodes. The placeholder is replaced with JSON-serialized list of parameter values.Fixes #2393
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.