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