#!jinja2 [meta] title = a test workflow description = the quick brown fox custom = custard [scheduler] UTC mode = True [scheduling] initial cycle point = 20141106T09 final cycle point = 20141106T09 [[graph]] PT1H = """ bar => foo foo:start => SHOW? SHOW:finish-all => end """ [runtime] [[foo]] script = """ touch 'foot' while [[ -e 'foot' ]]; do sleep 1 done """ [[[meta]]] title = a task description = jumped over the lazy dog baz = pub [[bar]] script = true [[end]] script = rm -f '../foo/foot' [[SHOW]] [[show-workflow]] inherit = SHOW script = cylc show "$CYLC_WORKFLOW_ID" >>{{ TEST_OUTPUT_PATH }}-workflow [[show-task]] inherit = SHOW script = cylc show "$CYLC_WORKFLOW_ID" --task-def foo >>{{ TEST_OUTPUT_PATH }}-task [[show-taskinstance]] inherit = SHOW script = """ cylc show "$CYLC_WORKFLOW_ID//20141106T0900Z/foo" \ >>{{ TEST_OUTPUT_PATH }}-taskinstance """ [[show-workflow-json]] inherit = SHOW script = """ cylc show --json "$CYLC_WORKFLOW_ID" \ >>{{ TEST_OUTPUT_PATH }}-json-workflow """ [[show-task-json]] inherit = SHOW script = """ cylc show --json "$CYLC_WORKFLOW_ID" --task-def foo \ >>{{ TEST_OUTPUT_PATH }}-json-task """ [[show-taskinstance-json]] inherit = SHOW script = """ cylc show --json "$CYLC_WORKFLOW_ID//20141106T0900Z/foo" \ >>{{ TEST_OUTPUT_PATH }}-json-taskinstance """