14198: Test cases for places that ClusterTarget can appear
[arvados.git] / sdk / cwl / tests / federation / cases / remote-case-wf-hint.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:remote-case
13 hints:
14   arv:ClusterTarget:
15     cluster_id: $(inputs.runOnCluster)
16 inputs:
17   inp:
18     type: File
19     inputBinding: {}
20   runOnCluster: string
21 outputs:
22   hash:
23     type: File
24     outputSource: md5sum/hash
25 steps:
26   md5sum:
27     in:
28       inp: inp
29       runOnCluster: runOnCluster
30     out: [hash]
31     run: md5sum.cwl