Merge branch '18874-merge-wb2'
[arvados.git] / sdk / cwl / tests / wf / expect_upload_packed.cwl
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 {
6     "$graph": [
7         {
8             "baseCommand": "cat",
9             "class": "CommandLineTool",
10             "id": "#submit_tool.cwl",
11             "inputs": [
12                 {
13                     "default": {
14                         "basename": "blub.txt",
15                         "class": "File",
16                         "location": "keep:5d373e7629203ce39e7c22af98a0f881+52/blub.txt",
17                         "nameext": ".txt",
18                         "nameroot": "blub"
19                     },
20                     "id": "#submit_tool.cwl/x",
21                     "inputBinding": {
22                         "position": 1
23                     },
24                     "type": "File"
25                 }
26             ],
27             "outputs": [],
28             "requirements": [
29                 {
30                     "class": "DockerRequirement",
31                     "dockerPull": "debian:buster-slim",
32                     "http://arvados.org/cwl#dockerCollectionPDH": "999999999999999999999999999999d4+99"
33                 }
34             ]
35         },
36         {
37             "class": "Workflow",
38             "hints": [
39                 {
40                     "acrContainerImage": "999999999999999999999999999999d3+99",
41                     "class": "http://arvados.org/cwl#WorkflowRunnerResources"
42                 }
43             ],
44             "id": "#main",
45             "inputs": [
46                 {
47                     "default": {
48                         "basename": "blorp.txt",
49                         "class": "File",
50                         "location": "keep:169f39d466a5438ac4a90e779bf750c7+53/blorp.txt",
51                         "nameext": ".txt",
52                         "nameroot": "blorp",
53                         "size": 16
54                     },
55                     "id": "#main/x",
56                     "type": "File"
57                 },
58                 {
59                     "default": {
60                         "basename": "99999999999999999999999999999998+99",
61                         "class": "Directory",
62                         "location": "keep:99999999999999999999999999999998+99"
63                     },
64                     "id": "#main/y",
65                     "type": "Directory"
66                 },
67                 {
68                     "default": {
69                         "basename": "anonymous",
70                         "class": "Directory",
71                         "listing": [
72                             {
73                                 "basename": "renamed.txt",
74                                 "class": "File",
75                                 "location": "keep:99999999999999999999999999999998+99/file1.txt",
76                                 "nameext": ".txt",
77                                 "nameroot": "renamed",
78                                 "size": 0
79                             }
80                         ],
81                         "location": "_:df80736f-f14d-4b10-b2e3-03aa27f034b2"
82                     },
83                     "id": "#main/z",
84                     "type": "Directory"
85                 }
86             ],
87             "outputs": [],
88             "steps": [
89                 {
90                     "id": "#main/step1",
91                     "in": [
92                         {
93                             "id": "#main/step1/x",
94                             "source": "#main/x"
95                         }
96                     ],
97                     "out": [],
98                     "run": "#submit_tool.cwl"
99                 }
100             ]
101         }
102     ],
103     "cwlVersion": "v1.0"
104 }