Merge branch '18888-cwl-dir-arg' refs #18888
[arvados.git] / sdk / cwl / tests / wf / expect_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             "id": "#main",
39             "inputs": [
40                 {
41                     "default": {
42                         "basename": "blorp.txt",
43                         "class": "File",
44                         "location": "keep:169f39d466a5438ac4a90e779bf750c7+53/blorp.txt",
45                         "nameext": ".txt",
46                         "nameroot": "blorp",
47                         "size": 16
48                     },
49                     "id": "#main/x",
50                     "type": "File"
51                 },
52                 {
53                     "default": {
54                         "basename": "99999999999999999999999999999998+99",
55                         "class": "Directory",
56                         "location": "keep:99999999999999999999999999999998+99"
57                     },
58                     "id": "#main/y",
59                     "type": "Directory"
60                 },
61                 {
62                     "default": {
63                         "basename": "anonymous",
64                         "class": "Directory",
65                         "listing": [
66                             {
67                                 "basename": "renamed.txt",
68                                 "class": "File",
69                                 "location": "keep:99999999999999999999999999999998+99/file1.txt",
70                                 "nameext": ".txt",
71                                 "nameroot": "renamed",
72                                 "size": 0
73                             }
74                         ],
75                         "location": "_:df80736f-f14d-4b10-b2e3-03aa27f034b2"
76                     },
77                     "id": "#main/z",
78                     "type": "Directory"
79                 }
80             ],
81             "outputs": [],
82             "steps": [
83                 {
84                     "id": "#main/step1",
85                     "in": [
86                         {
87                             "id": "#main/step1/x",
88                             "source": "#main/x"
89                         }
90                     ],
91                     "out": [],
92                     "run": "#submit_tool.cwl"
93                 }
94             ]
95         }
96     ],
97     "cwlVersion": "v1.0"
98 }