17417: Add arm64 packages for our Golang components.
[arvados.git] / sdk / cwl / tests / wf / scatter2_subwf.cwl
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 {
6   "$graph": [
7     {
8       "$namespaces": {
9         "arv": "http://arvados.org/cwl#"
10       },
11       "class": "Workflow",
12       "cwlVersion": "v1.0",
13       "hints": [],
14       "id": "#main",
15       "inputs": [
16         {
17           "id": "#main/fileblub",
18           "type": "File"
19         },
20         {
21           "id": "#main/sleeptime",
22           "type": "int"
23         }
24       ],
25       "outputs": [
26         {
27           "id": "#main/out",
28           "outputSource": "#main/sleep1/out",
29           "type": "string"
30         }
31       ],
32       "requirements": [
33         {
34           "class": "InlineJavascriptRequirement"
35         },
36         {
37           "class": "ScatterFeatureRequirement"
38         },
39         {
40           "class": "StepInputExpressionRequirement"
41         },
42         {
43           "class": "SubworkflowFeatureRequirement"
44         }
45       ],
46       "steps": [
47         {
48           "id": "#main/sleep1",
49           "in": [
50             {
51               "id": "#main/sleep1/blurb",
52               "valueFrom": "${\n  return String(inputs.sleeptime) + \"b\";\n}\n"
53             },
54             {
55               "id": "#main/sleep1/sleeptime",
56               "source": "#main/sleeptime"
57             }
58           ],
59           "out": [
60             "#main/sleep1/out"
61           ],
62           "run": {
63             "baseCommand": "sleep",
64             "class": "CommandLineTool",
65             "id": "#main/sleep1/subtool",
66             "inputs": [
67               {
68                 "id": "#main/sleep1/subtool/sleeptime",
69                 "inputBinding": {
70                   "position": 1
71                 },
72                 "type": "int"
73               }
74             ],
75             "outputs": [
76               {
77                 "id": "#main/sleep1/subtool/out",
78                 "outputBinding": {
79                   "outputEval": "out"
80                 },
81                 "type": "string"
82               }
83             ]
84           }
85         }
86       ]
87     }
88   ],
89   "cwlVersion": "v1.0"
90 }