| 1 |
[meta] |
| 2 |
title=broadcast section-space-key |
| 3 |
description=Test broadcast set section-space-key syntax |
| 4 |
[scheduler] |
| 5 |
UTC mode = True |
| 6 |
[[events]] |
| 7 |
abort on stall timeout = True |
| 8 |
stall timeout=PT1M |
| 9 |
[scheduling] |
| 10 |
initial cycle point = 20200202 |
| 11 |
final cycle point = 20200202 |
| 12 |
[[graph]] |
| 13 |
P1M = "broadcast => test-env" |
| 14 |
[runtime] |
| 15 |
[[broadcast]] |
| 16 |
script=""" |
| 17 |
cylc broadcast -s '[environment] FOO=${FOO:-foo}' -n 'test-env' "${CYLC_WORKFLOW_ID}" |
| 18 |
""" |
| 19 |
[[test-env]] |
| 20 |
script=""" |
| 21 |
test "${FOO}" = 'foo' |
| 22 |
""" |
| 23 |
[[[environment]]] |
| 24 |
FOO=bar |