Merge branch '19464-capture-git-info' refs #19464
[arvados.git] / sdk / cwl / tests / federation / cases / twostep-remote-copy-to-home.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:twostep-remote-copy-to-home
13 inputs:
14   inp:
15     type: File
16     inputBinding: {}
17   md5sumCluster: string
18   revCluster: string
19 outputs:
20   hash:
21     type: File
22     outputSource: md5sum/hash
23 steps:
24   md5sum:
25     in:
26       inp: inp
27       runOnCluster: md5sumCluster
28     out: [hash]
29     hints:
30       arv:ClusterTarget:
31         cluster_id: $(inputs.runOnCluster)
32     run: md5sum.cwl
33   rev:
34     in:
35       inp: md5sum/hash
36       runOnCluster: revCluster
37     out: [revhash]
38     hints:
39       arv:ClusterTarget:
40         cluster_id: $(inputs.runOnCluster)
41     run: rev-input-to-output.cwl