Merge branch '19464-capture-git-info' refs #19464
[arvados.git] / sdk / cwl / tests / federation / cases / scatter-gather.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:scatter-gather
13   ScatterFeatureRequirement: {}
14 inputs:
15   shards: File[]
16   clusters: string[]
17 outputs:
18   joined:
19     type: File
20     outputSource: cat/joined
21 steps:
22   md5sum:
23     in:
24       inp: shards
25       runOnCluster: clusters
26     scatter: [inp, runOnCluster]
27     scatterMethod: dotproduct
28     out: [hash]
29     hints:
30       arv:ClusterTarget:
31         cluster_id: $(inputs.runOnCluster)
32     run: md5sum.cwl
33   cat:
34     in:
35       inp: md5sum/hash
36     out: [joined]
37     run: cat.cwl