14714: keep-balance uses cluster config
[arvados.git] / sdk / cwl / tests / wf / runin-with-ttl-wf.cwl
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 class: Workflow
6 cwlVersion: v1.0
7 $namespaces:
8   arv: "http://arvados.org/cwl#"
9 inputs:
10   fileblub:
11     type: File
12     default:
13       class: File
14       location: keep:d7514270f356df848477718d58308cc4+94/a
15       secondaryFiles:
16         - class: File
17           location: keep:d7514270f356df848477718d58308cc4+94/b
18 outputs:
19   out:
20     type: string
21     outputSource: substep/out
22 requirements:
23   SubworkflowFeatureRequirement: {}
24   ScatterFeatureRequirement: {}
25   InlineJavascriptRequirement: {}
26   StepInputExpressionRequirement: {}
27 hints:
28   arv:IntermediateOutput:
29     outputTTL: 60
30   DockerRequirement:
31     dockerPull: arvados/jobs:1.4.0.20190604172024
32 steps:
33   substep:
34     in:
35       fileblub: fileblub
36     out: [out]
37     hints:
38       - class: arv:RunInSingleContainer
39     run:
40       class: Workflow
41       id: mysub
42       inputs:
43         fileblub: File
44       outputs:
45         out:
46           type: string
47           outputSource: cat1/out
48       steps:
49         cat1:
50           in:
51             fileblub: fileblub
52           out: [out]
53           run:
54             class: CommandLineTool
55             id: subtool
56             inputs:
57               fileblub:
58                 type: File
59                 inputBinding: {position: 1}
60             outputs:
61               out:
62                 type: string
63                 outputBinding:
64                   outputEval: $("out")
65             baseCommand: cat