argo-workflows icon indicating copy to clipboard operation
argo-workflows copied to clipboard

fix: Mark resource && data template report-outputs-completed true

Open shuangkun opened this issue 5 months ago • 0 comments

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 && data template. So I want to Mark resource && data report-outputs-completed true.

tianshuangkun@B-QGHAMD6M-2124 myworkflow % argo list
NAME                        STATUS      AGE   DURATION   PRIORITY
data-transformation-ff287   Succeeded   2h    2h         0
outputs-fww7h               Succeeded   6h    6h         0
tianshuangkun@B-QGHAMD6M-2124 myworkflow % kubectl get workflowtaskresults -o yaml | grep workflows.argoproj.io/report-outputs-completed
      workflows.argoproj.io/report-outputs-completed: "true"
      workflows.argoproj.io/report-outputs-completed: "true"
      workflows.argoproj.io/report-outputs-completed: "true"
      workflows.argoproj.io/report-outputs-completed: "true"
      workflows.argoproj.io/report-outputs-completed: "true"
      workflows.argoproj.io/report-outputs-completed: "false"
      workflows.argoproj.io/report-outputs-completed: "true"
      workflows.argoproj.io/report-outputs-completed: "false"
tianshuangkun@B-QGHAMD6M-2124 myworkflow %

Motivation

Modifications

Verification

shuangkun avatar Jan 18 '24 12:01 shuangkun