Debian Codegraph @

tests/f/flow-triggers/01-all-future/flow.cylc

raw
1 #!Jinja2
2
3 # flow:1
4 # a(running)
5 # flow:
6 # d(running)
7 # by:
8 # cylc trigger d
9 #
10 # Result:
11 # The two flows never meet in the pool so never merge. But the triggered
12 # task belongs to the original flow so it does not run again.
13 #
14 # flow:1
15 # a
16 # b
17 # c
18 # d
19 # e
20 # f
21
22 {% if WAIT is defined %}
23 {% set OPT = "--wait" %}
24 {% else %}
25 {% set OPT = "" %}
26 {% endif %}
27
28 [scheduler]
29 allow implicit tasks = True
30 [[events]]
31 abort on stall timeout = True
32 stall timeout = PT0S
33 abort on inactivity timeout = True
34 inactivity timeout = PT1M
35 [scheduling]
36 [[graph]]
37 R1 = "a => b => c => d => e => f"
38 [runtime]
39 [[a]]
40 script = """
41 cylc trigger {{OPT}} ${CYLC_WORKFLOW_ID}//1/d
42 cylc__job__poll_grep_workflow_log -E '1/d.*succeeded'
43 """