forked from elixir-cloud-aai/TESK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
output_volume.json
38 lines (38 loc) · 994 Bytes
/
output_volume.json
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
{
"description": "FTP outputting file and directory from volume location",
"volumes": [
"/tes"
],
"outputs": [
{
"description": "ftp://ftp-private.ebi.ac.uk/upload/examples/existing1 exists and is initially empty - expect file1.txt created",
"path": "/tes/file1.txt",
"type": "FILE",
"url": "ftp://ftp-private.ebi.ac.uk/upload/examples/existing1/file1.txt"
},
{
"description": "ftp://ftp-private.ebi.ac.uk/upload/examples/tes does not exist - expect will be created and will contain file1.txt and file2.txt",
"path": "/tes",
"type": "DIRECTORY",
"url": "ftp://ftp-private.ebi.ac.uk/upload/examples"
}
],
"executors": [
{
"image": "alpine",
"command": [
"echo",
"This goes to file1"
],
"stdout": "/tes/file1.txt"
},
{
"image": "alpine",
"command": [
"sh",
"-c",
"echo 'This goes to file2' > /tes/file2.txt"
]
}
]
}