Debian Codegraph @

tests/f/flow-triggers/05-none-past/flow.cylc

raw
1 # flow:1
2 # a(succeeded)
3 # b(succeeded)
4 # c(running)
5 # flow:<new>
6 # a(running)
7 #
8 # by:
9 # cylc trigger --flow=none a
10 #
11 # Result:
12 # The triggered task belongs to no flow; it will run but not flow on.
13 #
14 # flow:1
15 # a
16 # b
17 # c
18 # d
19 # flow:none
20 # a
21
22 [scheduler]
23 allow implicit tasks = True
24 [[events]]
25 abort on stall timeout = True
26 stall timeout = PT0S
27 abort on inactivity timeout = True
28 inactivity timeout = PT1M
29 [scheduling]
30 [[graph]]
31 R1 = "a => b => c => d"
32 [runtime]
33 [[d]]
34 script = """
35 if (( $CYLC_TASK_SUBMIT_NUMBER == 1 )); then
36 cylc trigger --flow=none ${CYLC_WORKFLOW_ID}//1/a
37 cylc__job__poll_grep_workflow_log -E '1/a/02\(flows=none\):submitted.*started'
38 fi
39 """