| 1 |
[scheduler] |
| 2 |
allow implicit tasks = True |
| 3 |
[[events]] |
| 4 |
inactivity timeout = PT1M |
| 5 |
abort on inactivity timeout = True |
| 6 |
[scheduling] |
| 7 |
[[graph]] |
| 8 |
R1 = """ |
| 9 |
a => b => c => d => e |
| 10 |
""" |
| 11 |
[runtime] |
| 12 |
[[a]] |
| 13 |
script = """ |
| 14 |
set +e |
| 15 |
|
| 16 |
read -r -d '' gqlDoc <<_DOC_ |
| 17 |
{"request_string": " |
| 18 |
mutation { |
| 19 |
setGraphWindowExtent ( |
| 20 |
workflows: [\"${CYLC_WORKFLOW_ID}\"], |
| 21 |
nEdgeDistance: 2) { |
| 22 |
result |
| 23 |
} |
| 24 |
}", |
| 25 |
"variables": null} |
| 26 |
_DOC_ |
| 27 |
|
| 28 |
echo "${gqlDoc}" |
| 29 |
|
| 30 |
cylc client "$CYLC_WORKFLOW_ID" graphql < <(echo ${gqlDoc}) 2>/dev/null |
| 31 |
|
| 32 |
set -e |
| 33 |
""" |
| 34 |
[[c]] |
| 35 |
script = """ |
| 36 |
cylc show "$CYLC_WORKFLOW_ID//1/a" >> $CYLC_WORKFLOW_RUN_DIR/show-a.txt |
| 37 |
cylc show "$CYLC_WORKFLOW_ID//1/b" >> $CYLC_WORKFLOW_RUN_DIR/show-b.txt |
| 38 |
cylc show "$CYLC_WORKFLOW_ID//1/c" >> $CYLC_WORKFLOW_RUN_DIR/show-c.txt |
| 39 |
cylc show "$CYLC_WORKFLOW_ID//1/d" >> $CYLC_WORKFLOW_RUN_DIR/show-d.txt |
| 40 |
cylc show "$CYLC_WORKFLOW_ID//1/e" >> $CYLC_WORKFLOW_RUN_DIR/show-e.txt |
| 41 |
""" |