Debian Codegraph @

tests/f/cylc-kill/00-multi-hosts-compat/flow.cylc

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