1 #!/usr/bin/env cwl-runner
2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: Apache-2.0
9 arv: "http://arvados.org/cwl#"
10 cwltool: "http://commonwl.org/cwltool#"
13 secrets: [arvados_api_token]
15 StepInputExpressionRequirement: {}
16 InlineJavascriptRequirement: {}
17 SubworkflowFeatureRequirement: {}
19 arvados_api_token: string
20 arvado_api_host_insecure:
23 arvados_api_hosts: string[]
24 arvados_cluster_ids: string[]
30 - runner-home-step-remote
31 - runner-remote-step-home
35 outputSource: base-case/success
36 runner-home-step-remote-success:
38 outputSource: runner-home-step-remote/success
39 runner-remote-step-home-success:
41 outputSource: runner-remote-step-home/success
42 twostep-home-to-remote-success:
44 outputSource: twostep-home-to-remote/success
45 twostep-remote-to-home-success:
47 outputSource: twostep-remote-to-home/success
50 outputSource: twostep-both-remote/success
55 arvados_api_token: arvados_api_token
56 arvado_api_host_insecure: arvado_api_host_insecure
57 arvados_api_hosts: arvados_api_hosts
58 arvados_cluster_ids: arvados_cluster_ids
63 location: cases/base-case.cwl
66 location: cases/md5sum.cwl
71 location: data/base-case-input.txt
74 self["runOnCluster"] = inputs.arvados_cluster_ids[0];
77 scrub_image: {default: "arvados/fed-test:base-case"}
80 - 031a4ced0aa99de90fb630568afc6e9b+67 # input collection
81 - eb93a6718eb1a1a8ee9f66ee7d683472+51 # md5sum output collection
82 - f654d4048612135f4a5e7707ec0fcf3e+112 # final output json
84 run: framework/testcase.cwl
86 runner-home-step-remote:
88 arvados_api_token: arvados_api_token
89 arvado_api_host_insecure: arvado_api_host_insecure
90 arvados_api_hosts: arvados_api_hosts
91 arvados_cluster_ids: arvados_cluster_ids
96 location: cases/runner-home-step-remote.cwl
99 location: cases/md5sum.cwl
104 location: data/runner-home-step-remote-input.txt
107 self["runOnCluster"] = inputs.arvados_cluster_ids[1];
110 runner_cluster: { valueFrom: "$(inputs.arvados_cluster_ids[0])" }
111 scrub_image: {default: "arvados/fed-test:runner-home-step-remote"}
114 - 3bc373e38751fe13dcbd62778d583242+81 # input collection
115 - 428e6d91e41a3af3ae287b453949e7fd+51 # md5sum output collection
116 - a4b0ddd866525655e8480f83a1ca83c6+112 # runner output json
118 run: framework/testcase.cwl
120 runner-remote-step-home:
122 arvados_api_token: arvados_api_token
123 arvado_api_host_insecure: arvado_api_host_insecure
124 arvados_api_hosts: arvados_api_hosts
125 arvados_cluster_ids: arvados_cluster_ids
130 location: cases/runner-remote-step-home.cwl
133 location: cases/md5sum.cwl
138 location: data/runner-remote-step-home-input.txt
141 self["runOnCluster"] = inputs.arvados_cluster_ids[0];
144 runner_cluster: { valueFrom: "$(inputs.arvados_cluster_ids[1])" }
145 scrub_image: {default: "arvados/fed-test:runner-remote-step-home"}
148 - 25fe10d8e8530329a738de69d9bc8ab5+81 # input collection
149 - 7f052d1a04b851b6f73fba77c7802e1d+51 # md5sum output collection
150 - ecb639201f454b6493757f5117f540df+112 # runner output json
152 run: framework/testcase.cwl
154 twostep-home-to-remote:
156 arvados_api_token: arvados_api_token
157 arvado_api_host_insecure: arvado_api_host_insecure
158 arvados_api_hosts: arvados_api_hosts
159 arvados_cluster_ids: arvados_cluster_ids
164 location: cases/twostep-home-to-remote.cwl
167 location: cases/md5sum.cwl
169 location: cases/rev.cwl
174 location: data/twostep-home-to-remote.txt
177 self["md5sumCluster"] = inputs.arvados_cluster_ids[0];
178 self["revCluster"] = inputs.arvados_cluster_ids[1];
181 runner_cluster: { valueFrom: "$(inputs.arvados_cluster_ids[0])" }
182 scrub_image: {default: "arvados/fed-test:twostep-home-to-remote"}
185 - 268a54947fb75115cfe05bb54cc62c30+74 # input collection
186 - 400f03b8c5d2dc3dcb513a21b626ef88+51 # md5sum output collection
187 - 3738166916ca5f6f6ad12bf7e06b4a21+51 # rev output collection
188 - bc37c17a37aa25229e5de1339b27fbcc+112 # runner output json
190 run: framework/testcase.cwl
192 twostep-remote-to-home:
194 arvados_api_token: arvados_api_token
195 arvado_api_host_insecure: arvado_api_host_insecure
196 arvados_api_hosts: arvados_api_hosts
197 arvados_cluster_ids: arvados_cluster_ids
202 location: cases/twostep-remote-to-home.cwl
205 location: cases/md5sum.cwl
207 location: cases/rev.cwl
212 location: data/twostep-remote-to-home.txt
215 self["md5sumCluster"] = inputs.arvados_cluster_ids[1];
216 self["revCluster"] = inputs.arvados_cluster_ids[0];
219 runner_cluster: { valueFrom: "$(inputs.arvados_cluster_ids[0])" }
220 scrub_image: {default: "arvados/fed-test:twostep-remote-to-home"}
223 - cce89b9f7b6e163978144051ce5f071a+74 # input collection
224 - 0c358c3af63644c6343766feff1b7238+51 # md5sum output collection
225 - 33fb7d512bf21f04847eca58cea46e74+51 # rev output collection
226 - 912e04aa3db04aba008cf5cd46c277b2+112 # runner output json
228 run: framework/testcase.cwl
232 arvados_api_token: arvados_api_token
233 arvado_api_host_insecure: arvado_api_host_insecure
234 arvados_api_hosts: arvados_api_hosts
235 arvados_cluster_ids: arvados_cluster_ids
240 location: cases/twostep-both-remote.cwl
243 location: cases/md5sum.cwl
245 location: cases/rev.cwl
250 location: data/twostep-both-remote.txt
253 self["md5sumCluster"] = inputs.arvados_cluster_ids[1];
254 self["revCluster"] = inputs.arvados_cluster_ids[1];
257 runner_cluster: { valueFrom: "$(inputs.arvados_cluster_ids[0])" }
258 scrub_image: {default: "arvados/fed-test:twostep-both-remote"}
261 - 3c5e39939cf197d304ac1eac20841238+71 # input collection
262 - 3edb99aa607731593969cdab663d65b4+51 # md5sum output collection
263 - a91625b7139e60fe61a88cae42fbee13+51 # rev output collection
264 - ddfa58a81953dad08436d571615dd584+112 # runner output json
266 run: framework/testcase.cwl
268 # also: twostep-all-remote