Debian Codegraph @

tests/functional/cylc-kill/01-multi-hosts/flow.cylc

raw
1 #!Jinja2
2 [scheduler]
3 UTC mode = True
4 [[events]]
5 expected task failures = 1/local-1, 1/local-2, 1/local-3, 1/remote-1, 1/remote-2
6
7 [scheduling]
8 [[graph]]
9 R1 = """
10 # wait for the remote tasks to start before triggering the
11 # local ones in order to factor out remote-init time
12 remote-1:start & remote-2:start => local-1 & local-2 & local-3
13 KILLABLE:start-all => killer
14 """
15
16 [runtime]
17 [[KILLABLE]]
18 script = sleep 60
19 [[local-1, local-2, local-3]]
20 inherit = KILLABLE
21 [[remote-1, remote-2]]
22 inherit = KILLABLE
23 platform = {{ CYLC_TEST_PLATFORM }}
24 [[killer]]
25 script = """
26 cylc kill "${CYLC_WORKFLOW_ID}//1/KILLABLE"
27 cylc stop "${CYLC_WORKFLOW_ID}"
28 """