Skip to content

Commit

Permalink
docs: Update workflow-of-workflows.md (#10864)
Browse files Browse the repository at this point in the history
Signed-off-by: jyje <[email protected]>
(cherry picked from commit a8ebfd4)
  • Loading branch information
jyje authored and agilgur5 committed Jun 17, 2024
1 parent 96ea794 commit 04aa195
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/workflow-of-workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ spec:
- name: main
steps:
- - name: workflow1
template: triggerWorkflowUsingResourceWithoutArgument
template: resource-without-argument
arguments:
parameters:
- name: workflowtemplate
value: "workflow-template-submittable"
- - name: workflow2
template: triggerWorkflowUsingResourceWithArgument
template: resource-with-argument
arguments:
parameters:
- name: workflowtemplate
value: "workflow-template-submittable"
- name: message
value: "Welcome Argo"
- name: triggerWorkflowUsingResourceWithoutArgument
- name: resource-without-argument
inputs:
parameters:
- name: workflowtemplate
Expand All @@ -80,8 +80,8 @@ spec:
name: {{inputs.parameters.workflowtemplate}}
successCondition: status.phase == Succeeded
failureCondition: status.phase in (Failed, Error)
- name: triggerWorkflowUsingResourceWithArgument
- name: resource-with-argument
inputs:
parameters:
- name: workflowtemplate
Expand All @@ -102,4 +102,5 @@ spec:
name: {{inputs.parameters.workflowtemplate}}
successCondition: status.phase == Succeeded
failureCondition: status.phase in (Failed, Error)
```

0 comments on commit 04aa195

Please sign in to comment.