| 1 |
# Test all the standard event handler command line template args. |
| 2 |
# When testing this workflow outside the test framework you may find |
| 3 |
# it useful to delete the workflow from your `cylc-run` directory |
| 4 |
# between tries. |
| 5 |
[meta] |
| 6 |
title = a test workflow |
| 7 |
size = large |
| 8 |
[scheduling] |
| 9 |
[[graph]] |
| 10 |
R1 = "foo" |
| 11 |
[runtime] |
| 12 |
[[foo]] |
| 13 |
script = """ |
| 14 |
cylc__job__wait_cylc_message_started |
| 15 |
cylc message -p CUSTOM "cheesy peas" |
| 16 |
""" |
| 17 |
[[[events]]] |
| 18 |
custom handlers = checkargs workflow=%(workflow)s job_id=%(job_id)s event=%(event)s point=%(point)s name=%(name)s try_num=%(try_num)s submit_num=%(submit_num)s id=%(id)s job_runner_name=%(job_runner_name)s message=%(message)s fish=%(fish)s title=%(title)s URL=%(URL)s workflow_title=%(workflow_title)s workflow_size=%(workflow_size)s submit_time=%(submit_time)s start_time=%(start_time)s finish_time=%(finish_time)s platform_name=%(platform_name)s |
| 19 |
[[[meta]]] |
| 20 |
title = "a task called foo" |
| 21 |
URL = http://cheesy.peas |
| 22 |
fish = trout |