18870: git add everything
[arvados.git] / tools / salt-install / tests / hasher-workflow.cwl
1 #!/usr/bin/env cwl-runner
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: Apache-2.0
5
6 cwlVersion: v1.0
7 class: Workflow
8
9 $namespaces:
10   arv: "http://arvados.org/cwl#"
11   cwltool: "http://commonwl.org/cwltool#"
12
13 inputs:
14   inputfile: File
15   hasher1_outputname: string
16   hasher2_outputname: string
17   hasher3_outputname: string
18
19 outputs:
20   hasher_out:
21     type: File
22     outputSource: hasher3/hasher_out
23
24 steps:
25   hasher1:
26     run: hasher.cwl
27     in:
28       inputfile: inputfile
29       outputname: hasher1_outputname
30     out: [hasher_out]
31     hints:
32       ResourceRequirement:
33         coresMin: 1
34       arv:IntermediateOutput:
35         outputTTL: 3600
36       arv:ReuseRequirement:
37         enableReuse: false
38
39   hasher2:
40     run: hasher.cwl
41     in:
42       inputfile: hasher1/hasher_out
43       outputname: hasher2_outputname
44     out: [hasher_out]
45     hints:
46       ResourceRequirement:
47         coresMin: 1
48       arv:IntermediateOutput:
49         outputTTL: 3600
50       arv:ReuseRequirement:
51         enableReuse: false
52
53   hasher3:
54     run: hasher.cwl
55     in:
56       inputfile: hasher2/hasher_out
57       outputname: hasher3_outputname
58     out: [hasher_out]
59     hints:
60       ResourceRequirement:
61         coresMin: 1
62       arv:IntermediateOutput:
63         outputTTL: 3600
64       arv:ReuseRequirement:
65         enableReuse: false