File: wf_delay_v2.yaml

package info (click to toggle)
python-mistralclient 1%3A4.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,080 kB
  • sloc: python: 10,854; sh: 135; makefile: 23
file content (20 lines) | stat: -rw-r--r-- 328 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
version: '2.0'

wf:
  type: direct
  tags: [tag]

  tasks:
    hello:
      action: std.echo output="Hello"
      publish:
        result: <% task(hello).result %>
      wait-after: 1
      on-success:
        - task2

    task2:
      action: std.echo output="Task 2"
      publish:
        task2: <% task(task2).result %>