16212: Merge branch 'master'
[arvados.git] / sdk / cwl / tests / federation / cases / threestep-remote.cwl
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 cwlVersion: v1.0
6 class: Workflow
7 $namespaces:
8   arv: "http://arvados.org/cwl#"
9 requirements:
10   InlineJavascriptRequirement: {}
11   DockerRequirement:
12     dockerPull: arvados/fed-test:threestep-remote
13   ScatterFeatureRequirement: {}
14 inputs:
15   inp: File
16   clusterA: string
17   clusterB: string
18   clusterC: string
19 outputs:
20   revhash:
21     type: File
22     outputSource: revC/revhash
23 steps:
24   md5sum:
25     in:
26       inp: inp
27       runOnCluster: clusterA
28     out: [hash]
29     hints:
30       arv:ClusterTarget:
31         cluster_id: $(inputs.runOnCluster)
32     run: md5sum.cwl
33   revB:
34     in:
35       inp: md5sum/hash
36       runOnCluster: clusterB
37     out: [revhash]
38     hints:
39       arv:ClusterTarget:
40         cluster_id: $(inputs.runOnCluster)
41     run: rev-input-to-output.cwl
42   revC:
43     in:
44       inp: revB/revhash
45       runOnCluster: clusterC
46     out: [revhash]
47     hints:
48       arv:ClusterTarget:
49         cluster_id: $(inputs.runOnCluster)
50     run: rev-input-to-output.cwl