We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
:latest
I tried to reference the output of a plugin step. The output failed to resolve.
$ argo submit test.yaml FATA[2022-11-03T21:43:30.628Z] Failed to submit workflow: templates.bash-script-example.steps failed to resolve {{steps.generate.outputs.result}} # after changing the argument $ argo submit test.yaml FATA[2022-11-03T21:44:18.613Z] Failed to submit workflow: templates.bash-script-example.steps failed to resolve {{steps.generate.outputs.parameters.out}}
v3.4.2
apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: generateName: scripts-bash- spec: entrypoint: bash-script-example templates: - name: bash-script-example steps: - - name: generate template: gen-random-int - - name: print template: print-message arguments: parameters: - name: message value: "{{steps.generate.outputs.result}}" - name: gen-random-int plugin: test: {} - name: print-message inputs: parameters: - name: message container: image: alpine:latest command: [sh, -c] args: ["echo result was: {{inputs.parameters.message}}"]
n/a, this error was from the CLI
The text was updated successfully, but these errors were encountered:
I think this line should return true if tmpl.Plugin != nil.
tmpl.Plugin != nil
argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types.go
Line 2928 in b91606a
In the context where this is called, we have no idea whether the plugin will return outputs. So we should assume that it may.
Sorry, something went wrong.
fix: assume plugins may produce outputs.result and outputs.exitCode (F…
d4e60fa
…ixes #9966) (#9967) Signed-off-by: Michael Crenshaw <[email protected]>
859bcb1
Successfully merging a pull request may close this issue.
Pre-requisites
:latest
What happened/what you expected to happen?
I tried to reference the output of a plugin step. The output failed to resolve.
Version
v3.4.2
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
n/a, this error was from the CLI
Logs from in your workflow's wait container
n/a, this error was from the CLI
The text was updated successfully, but these errors were encountered: