Debian Codegraph @

tests/functional/triggering/17-suicide-multi/flow.cylc

raw
1 [scheduler]
2 allow implicit tasks = True
3 [[events]]
4 abort on stall timeout = True
5 stall timeout = PT0S
6
7 [scheduling]
8 cycling mode = integer
9 initial cycle point = 1
10 final cycle point = 3
11 [[graph]]
12 P1 = """
13 fin[-P1] => showdown
14
15 showdown:good? => good
16 showdown:bad? => bad
17 showdown:ugly? => ugly
18 showdown:good? | showdown:bad? => ! ugly
19 showdown:good? | showdown:ugly? => ! bad
20 showdown:bad? | showdown:ugly? => ! good
21
22 good | bad | ugly => fin
23 """
24 [runtime]
25 [[root]]
26 script = true
27 [[showdown]]
28 script = """
29 if ! (( ${CYLC_TASK_CYCLE_POINT} % 3 )); then
30 cylc message -- "${CYLC_WORKFLOW_ID}" "${CYLC_TASK_JOB}" 'The-Good'
31 elif ! (( ( ${CYLC_TASK_CYCLE_POINT} + 1 ) % 3 )); then
32 cylc message -- "${CYLC_WORKFLOW_ID}" "${CYLC_TASK_JOB}" 'The-Bad'
33 else
34 cylc message -- "${CYLC_WORKFLOW_ID}" "${CYLC_TASK_JOB}" 'The-Ugly'
35 fi
36 """
37 [[[outputs]]]
38 good = 'The-Good'
39 bad = 'The-Bad'
40 ugly = 'The-Ugly'