Skip to content

Commit 1d5714d

Browse files
authored
Merge pull request #268 from chapmanb/tests-docker-hints
Tests: move Docker from requirements to hints
2 parents 4b78524 + 7d45aca commit 1d5714d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

v1.0/v1.0/template-tool.cwl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
cwlVersion: v1.0
33
class: CommandLineTool
44
requirements:
5-
- class: DockerRequirement
6-
dockerPull: "debian:8"
75
- class: InlineJavascriptRequirement
86
expressionLib:
97
- { $include: underscore.js }
@@ -12,6 +10,9 @@ requirements:
1210
listing:
1311
- entryname: foo.txt
1412
entry: $(t("The file is <%= inputs.file1.path.split('/').slice(-1)[0] %>\n"))
13+
hints:
14+
DockerRequirement:
15+
dockerPull: "debian:8"
1516
inputs:
1617
- id: file1
1718
type: File

v1.0/v1.0/test-cwl-out.cwl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ class: CommandLineTool
22
cwlVersion: v1.0
33
requirements:
44
- class: ShellCommandRequirement
5-
- class: DockerRequirement
6-
dockerPull: debian:wheezy
5+
hints:
6+
DockerRequirement:
7+
dockerPull: "debian:wheezy"
78

89
inputs: []
910

0 commit comments

Comments
 (0)