Debian Codegraph @

tests/functional/reload/02-content/flow.cylc

raw
1 [meta]
2 title = content reload test
3 description = """two tasks: the second will fail, causing the test to
4 fail, unless the first reloads the workflow definition after modifying it."""
5
6 [scheduling]
7 [[graph]]
8 R1 = "reloader => foo"
9
10 [runtime]
11 [[reloader]]
12 script = """
13 # change the value of $FALSE to "true" in foo's environment:
14 perl -pi -e 's/(FALSE = )false( # marker)/\1true\2/' $CYLC_WORKFLOW_RUN_DIR/flow.cylc
15 # reload
16 cylc reload $CYLC_WORKFLOW_ID
17 """
18 [[foo]]
19 script = "$FALSE"
20 [[[environment]]]
21 FALSE = false # marker