| 1 |
--- |
| 2 |
version: "2.0" |
| 3 |
|
| 4 |
name: wb |
| 5 |
|
| 6 |
workflows: |
| 7 |
|
| 8 |
wrapping_wf: |
| 9 |
type: direct |
| 10 |
tasks: |
| 11 |
call_inner_wf_1: |
| 12 |
workflow: inner_wf |
| 13 |
call_inner_wf_2: |
| 14 |
workflow: inner_wf |
| 15 |
call_inner_wf_3: |
| 16 |
workflow: inner_wf |
| 17 |
call_inner_wf_4: |
| 18 |
workflow: inner_wf |
| 19 |
|
| 20 |
inner_wf: |
| 21 |
type: direct |
| 22 |
tasks: |
| 23 |
hello1: |
| 24 |
action: std.echo output="Hello" |
| 25 |
publish: |
| 26 |
result: $ |
| 27 |
hello2: |
| 28 |
action: std.echo output="Hello" |
| 29 |
publish: |
| 30 |
result: $ |
| 31 |
on-success: |
| 32 |
- world |
| 33 |
hello3: |
| 34 |
action: std.echo output="Hello" |
| 35 |
publish: |
| 36 |
result: $ |
| 37 |
on-success: |
| 38 |
- world |
| 39 |
hello4: |
| 40 |
action: std.echo output="Hello" |
| 41 |
publish: |
| 42 |
result: $ |
| 43 |
on-success: |
| 44 |
- world |
| 45 |
|
| 46 |
world: |
| 47 |
action: std.echo output="World" |
| 48 |
join: all |
| 49 |
publish: |
| 50 |
result: $ |
| 51 |
on-success: |
| 52 |
- test1 |
| 53 |
- test2 |
| 54 |
- test3 |
| 55 |
- test4 |
| 56 |
|
| 57 |
test1: |
| 58 |
action: std.echo output="Test!!" |
| 59 |
publish: |
| 60 |
result: $ |
| 61 |
test2: |
| 62 |
action: std.echo output="Test!!" |
| 63 |
publish: |
| 64 |
result: $ |
| 65 |
test3: |
| 66 |
action: std.echo output="Test!!" |
| 67 |
publish: |
| 68 |
result: $ |
| 69 |
test4: |
| 70 |
action: std.echo output="Test!!" |
| 71 |
publish: |
| 72 |
result: $ |
| 73 |
|