-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix: Mark resource
& data
template report-outputs-completed: "true"
#12544
fix: Mark resource
& data
template report-outputs-completed: "true"
#12544
Conversation
Signed-off-by: shuangkun <tsk2013uestc@163.com>
de7fb0c
to
52bddf0
Compare
Signed-off-by: shuangkun <tsk2013uestc@163.com>
52bddf0
to
2723778
Compare
Great job catching this ahead of another Issue that found it! And resolving it as well. |
@Garett-MacGowan will you also review this one? |
Once comments are resolved, LGTM. |
Signed-off-by: shuangkun <tsk2013uestc@163.com>
Just to be clear, we were already initializing outputs (creating a task result) somewhere in order to get Edit: I should have looked deeper before commenting. This was a shower thought. |
Nevermind, ReportOutputs does an upsert, so its necessary to initialize here. LGTM |
Signed-off-by: shuangkun <tsk2013uestc@163.com>
I can relate to the "shower thought" :) |
…goproj#12544) Signed-off-by: shuangkun <tsk2013uestc@163.com>
…goproj#12544) Signed-off-by: shuangkun <tsk2013uestc@163.com>
…goproj#12544) Signed-off-by: shuangkun <tsk2013uestc@163.com>
…goproj#12544) Signed-off-by: shuangkun <tsk2013uestc@163.com> Signed-off-by: Isitha Subasinghe <isubasinghe@student.unimelb.edu.au>
resource
& data
template report-outputs-completed: "true"
I run two example(use latest image):
https://github.com/argoproj/argo-workflows/blob/main/test/e2e/testdata/resource-templates/outputs.yaml
https://github.com/argoproj/argo-workflows/blob/main/test/e2e/testdata/data-transformation.yaml
I find the workflow succeed but the workflowtaskresult have two is not marked true.
The two is
resource
anddata
template. So I want to markresource
anddata
report-outputs-completed
true.Motivation
Modifications
Verification