Skip to content

Commit 7f116da

Browse files
authored
Merge pull request #339 from common-workflow-language/dockerOutputDirectory
Add test for dockerOutputDirectory option of DockerRequirement.
2 parents cb1f928 + 4f65d1f commit 7f116da

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

v1.0/conformance_test_v1.0.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,3 +960,14 @@
960960
size: 19
961961
tool: v1.0/file-literal-ex.cwl
962962
doc: Test file literal output created by ExpressionTool
963+
964+
- job: v1.0/empty.json
965+
output:
966+
"thing": {
967+
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
968+
"location": "thing",
969+
"class": "File",
970+
"size": 0
971+
}
972+
tool: v1.0/docker-output-dir.cwl
973+
doc: Test dockerOutputDirectory

v1.0/v1.0/docker-output-dir.cwl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
class: CommandLineTool
2+
cwlVersion: v1.0
3+
requirements:
4+
DockerRequirement:
5+
dockerPull: debian:8
6+
dockerOutputDirectory: /other
7+
inputs: []
8+
outputs:
9+
thing:
10+
type: File
11+
outputBinding:
12+
glob: thing
13+
baseCommand: ["touch", "/other/thing"]

0 commit comments

Comments
 (0)