| 1 |
[meta] |
| 2 |
title = "pause/resume test workflow" |
| 3 |
|
| 4 |
# https://github.com/cylc/cylc-flow/pull/843 |
| 5 |
|
| 6 |
# See also tests/f/hold-release/00-workflow |
| 7 |
|
| 8 |
[scheduler] |
| 9 |
cycle point format = %Y%m%dT%H |
| 10 |
|
| 11 |
[scheduling] |
| 12 |
initial cycle point = 20140101T00 |
| 13 |
final cycle point = 20140101T00 |
| 14 |
[[graph]] |
| 15 |
R1 = "pause_resume => foo & bar" |
| 16 |
T00, T06 = "bar" |
| 17 |
[runtime] |
| 18 |
[[pause_resume]] |
| 19 |
script = """ |
| 20 |
wait |
| 21 |
cylc pause "${CYLC_WORKFLOW_ID}" |
| 22 |
cylc__job__poll_grep_workflow_log 'Command "pause" actioned' |
| 23 |
cylc play "${CYLC_WORKFLOW_ID}" |
| 24 |
""" |
| 25 |
[[foo,bar]] |
| 26 |
script = true |