oicr-gsi / empty

Empty workflow for testing infrastructure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

empty

Workflow for testing infrastructure

Overview

Dependencies

Usage

Cromwell

java -jar cromwell.jar run empty.wdl --inputs inputs.json

Inputs

Required workflow parameters:

Parameter Value Description
dummyInput File Unused input file, strictly for Vidarr regression testing.

Optional workflow parameters:

Parameter Value Default Description
exitCode Int 0 Exit code
n Int 10 Number of lines to log to stderr

Optional task parameters:

Parameter Value Default Description
log.mem Int 1 Memory (in GB) to allocate to the job
log.runtime_seconds Int 60 The amount of time (in seconds) to simulate processing/sleep for
log.timeout Int 1 Maximum amount of time (in hours) the task can run for

Outputs

Output Type Description Labels
stdout File stdout lines produced vidarr_label: stdout
stderr File stderr lines produced vidarr_label: stderr

Commands

This section lists command(s) run by "empty" workflow, a workflow used by GSI's infrastructure & Software Development team for testing.

  • Workflow "empty" does the following: ** Prints to X lines to stdout and stderr. ** Waits for Y seconds (to simulate long running tasks). ** Exits/terminates with a user specified exit code.

<<< set -euo pipefail # Output n lines to stderr for (( i = 1; i <= ~{n}; i++ )) ; do echo "This is a place holder stdout line ${i}" echo "This is a place holder stderr line ${i}" 1>&2 done sleep ~{runtime_seconds} exit ~{exitCode}

Support

For support, please file an issue on the Github project or send an email to gsi@oicr.on.ca .

Generated with generate-markdown-readme (https://github.com/oicr-gsi/gsi-wdl-tools/)

About

Empty workflow for testing infrastructure


Languages

Language:WDL 83.5%Language:Shell 16.5%