-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaspera.cwl
48 lines (43 loc) · 1009 Bytes
/
aspera.cwl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
cwlVersion: v1.0
class: CommandLineTool
doc: "transfer file passed from the previous task to the remote server with IBM Aspera"
hints:
DockerRequirement:
dockerPull: ibmcom/aspera-cli
requirements:
EnvVarRequirement:
envDef:
#ASPERA_DST_PASS: $(inputs.password)
ASPERA_SCP_PASS: $(inputs.password)
inputs:
- id: user
type: string
doc: "user on behalf of er connect to the host"
inputBinding:
position: 1
prefix: "--user="
separate: false
- id: host
type: string
doc: "host"
inputBinding:
position: 2
prefix: "--host="
separate: false
- id: filesToTransfer
type: string[]
doc: "files to send, for now random data"
inputBinding:
position: 3
- id: destDir
type: string
doc: "detination directory on the host"
inputBinding:
position: 4
# inputBinding:
# valueFrom: $(self.basename)
outputs:
- id: output
type: stdout
baseCommand: ascp
arguments: ["--mode=send"]