Merge branch 'main' from workbench2.git
[arvados.git] / sdk / cwl / tests / federation / cases / base-case.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:base-case
13 inputs:
14   inp:
15     type: File
16     inputBinding: {}
17   runOnCluster: string
18 outputs:
19   hash:
20     type: File
21     outputSource: md5sum/hash
22 steps:
23   md5sum:
24     in:
25       inp: inp
26       runOnCluster: runOnCluster
27     out: [hash]
28     hints:
29       arv:ClusterTarget:
30         cluster_id: $(inputs.runOnCluster)
31     run: md5sum.cwl