}
tool: wf/secret_wf.cwl
doc: "Test secret input parameters"
+
+- job: null
+ output:
+ out: null
+ tool: wf/runin-reqs-wf.cwl
+ doc: "RunInSingleContainer handles dynamic resource requests on step"
+
+- job: null
+ output:
+ out: null
+ tool: wf/runin-reqs-wf2.cwl
+ doc: "RunInSingleContainer handles dynamic resource requests on embedded subworkflow"
+
+- job: null
+ output:
+ out: null
+ tool: wf/runin-reqs-wf3.cwl
+ should_fail: true
+ doc: "RunInSingleContainer disallows dynamic resource request on subworkflow steps"
+
+- job: null
+ output:
+ out: null
+ tool: wf/runin-reqs-wf4.cwl
+ doc: "RunInSingleContainer discovers static resource request in subworkflow steps"
$namespaces:
arv: "http://arvados.org/cwl#"
inputs:
- sleeptime:
+ count:
type: int[]
default: [1, 2, 3, 4]
+ script:
+ type: File
+ default:
+ class: File
+ location: check_mem.py
outputs:
out: []
requirements:
steps:
substep:
in:
- sleeptime: sleeptime
+ count: count
+ script: script
out: []
hints:
- class: arv:RunInSingleContainer
- class: ResourceRequirement
- ramMin: $(inputs.sleeptime*4)
- scatter: sleeptime
+ ramMin: $(inputs.count*4)
+ - class: arv:APIRequirement
+ scatter: count
run:
class: Workflow
id: mysub
inputs:
- sleeptime: int
+ count: int
+ script: File
outputs: []
steps:
sleep1:
in:
- sleeptime: sleeptime
+ count: count
+ script: script
out: []
run:
class: CommandLineTool
id: subtool
inputs:
- sleeptime:
+ count:
type: int
+ script: File
outputs: []
- baseCommand: [cat, /proc/meminfo]
+ arguments: [python, $(inputs.script), $(inputs.count * 4)]
$namespaces:
arv: "http://arvados.org/cwl#"
inputs:
- sleeptime:
+ count:
type: int[]
default: [1, 2, 3, 4]
+ script:
+ type: File
+ default:
+ class: File
+ location: check_mem.py
outputs:
out: []
requirements:
steps:
substep:
in:
- sleeptime: sleeptime
+ count: count
+ script: script
out: []
hints:
- class: arv:RunInSingleContainer
- scatter: sleeptime
+ - class: arv:APIRequirement
+ scatter: count
run:
class: Workflow
id: mysub
inputs:
- sleeptime: int
+ count: int
+ script: File
outputs: []
hints:
- - class: ResourceRequirement
- ramMin: $(inputs.sleeptime*4)
+ - class: ResourceRequirement
+ ramMin: $(inputs.count*4)
steps:
sleep1:
in:
- sleeptime: sleeptime
+ count: count
+ script: script
out: []
run:
class: CommandLineTool
id: subtool
inputs:
- sleeptime:
+ count:
type: int
- inputBinding: {position: 1}
+ script: File
outputs: []
- baseCommand: sleep
+ arguments: [python, $(inputs.script), $(inputs.count * 4)]
$namespaces:
arv: "http://arvados.org/cwl#"
inputs:
- sleeptime:
+ count:
type: int[]
default: [1, 2, 3, 4]
+ script:
+ type: File
+ default:
+ class: File
+ location: check_mem.py
outputs:
out: []
requirements:
steps:
substep:
in:
- sleeptime: sleeptime
+ count: count
+ script: script
out: []
hints:
- class: arv:RunInSingleContainer
- scatter: sleeptime
+ - class: arv:APIRequirement
+ scatter: count
run:
class: Workflow
id: mysub
inputs:
- sleeptime: int
+ count: int
+ script: File
outputs: []
steps:
sleep1:
in:
- sleeptime: sleeptime
+ count: count
+ script: script
out: []
run:
class: CommandLineTool
id: subtool
hints:
- class: ResourceRequirement
- ramMin: $(inputs.sleeptime*4)
+ ramMin: $(inputs.count*4)
inputs:
- sleeptime:
+ count:
type: int
- inputBinding: {position: 1}
+ script: File
outputs: []
- baseCommand: sleep
+ arguments: [python, $(inputs.script), $(inputs.count * 4)]
$namespaces:
arv: "http://arvados.org/cwl#"
inputs:
- sleeptime:
+ count:
type: int[]
default: [1, 2, 3, 4]
+ script:
+ type: File
+ default:
+ class: File
+ location: check_mem.py
outputs:
out: []
requirements:
steps:
substep:
in:
- sleeptime: sleeptime
+ count: count
+ script: script
out: []
hints:
- class: arv:RunInSingleContainer
- scatter: sleeptime
+ - class: arv:APIRequirement
+ scatter: count
run:
class: Workflow
id: mysub
inputs:
- sleeptime: int
+ count: int
+ script: File
outputs: []
steps:
sleep1:
in:
- sleeptime: sleeptime
+ count: count
+ script: script
out: []
run:
class: CommandLineTool
- class: ResourceRequirement
ramMin: 8
inputs:
- sleeptime:
+ count:
type: int
- inputBinding: {position: 1}
+ script: File
outputs: []
- baseCommand: sleep
+ arguments: [python, $(inputs.script), "8"]