17171: Merge branch 'master' into 17171-pysdk-timeout-fix
[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                         "class": "File",
15                         "location": "keep:5d373e7629203ce39e7c22af98a0f881+52/blub.txt"
16                     },
17                     "id": "#submit_tool.cwl/x",
18                     "inputBinding": {
19                         "position": 1
20                     },
21                     "type": "File"
22                 }
23             ],
24             "outputs": [],
25             "requirements": [
26                 {
27                     "class": "DockerRequirement",
28                     "dockerPull": "debian:buster-slim",
29                     "http://arvados.org/cwl#dockerCollectionPDH": "999999999999999999999999999999d4+99"
30                 }
31             ]
32         },
33         {
34             "class": "Workflow",
35             "hints": [
36                 {
37                     "acrContainerImage": "999999999999999999999999999999d3+99",
38                     "class": "http://arvados.org/cwl#WorkflowRunnerResources"
39                 }
40             ],
41             "id": "#main",
42             "inputs": [
43                 {
44                     "default": {
45                         "basename": "blorp.txt",
46                         "class": "File",
47                         "location": "keep:169f39d466a5438ac4a90e779bf750c7+53/blorp.txt",
48                         "nameext": ".txt",
49                         "nameroot": "blorp",
50                         "size": 16
51                     },
52                     "id": "#main/x",
53                     "type": "File"
54                 },
55                 {
56                     "default": {
57                         "basename": "99999999999999999999999999999998+99",
58                         "class": "Directory",
59                         "location": "keep:99999999999999999999999999999998+99"
60                     },
61                     "id": "#main/y",
62                     "type": "Directory"
63                 },
64                 {
65                     "default": {
66                         "basename": "anonymous",
67                         "class": "Directory",
68                         "listing": [
69                             {
70                                 "basename": "renamed.txt",
71                                 "class": "File",
72                                 "location": "keep:99999999999999999999999999999998+99/file1.txt",
73                                 "nameext": ".txt",
74                                 "nameroot": "renamed",
75                                 "size": 0
76                             }
77                         ]
78                     },
79                     "id": "#main/z",
80                     "type": "Directory"
81                 }
82             ],
83             "outputs": [],
84             "steps": [
85                 {
86                     "id": "#main/step1",
87                     "in": [
88                         {
89                             "id": "#main/step1/x",
90                             "source": "#main/x"
91                         }
92                     ],
93                     "out": [],
94                     "run": "#submit_tool.cwl"
95                 }
96             ]
97         }
98     ],
99     "cwlVersion": "v1.0"
100 }