Merge branch '8333-docker-repo-tag'
[arvados.git] / sdk / cwl / tests / wf / expect_packed.cwl
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 cwlVersion: v1.0
6 $graph:
7 - class: CommandLineTool
8   requirements:
9   - class: DockerRequirement
10     dockerPull: debian:8
11   inputs:
12   - id: '#submit_tool.cwl/x'
13     type: File
14     default:
15       class: File
16       location: keep:5d373e7629203ce39e7c22af98a0f881+52/blub.txt
17     inputBinding:
18       position: 1
19   outputs: []
20   baseCommand: cat
21   id: '#submit_tool.cwl'
22 - class: Workflow
23   inputs:
24   - id: '#main/x'
25     type: File
26     default: {class: File, location: 'keep:169f39d466a5438ac4a90e779bf750c7+53/blorp.txt',
27       size: 16, basename: blorp.txt, nameroot: blorp, nameext: .txt}
28   - id: '#main/y'
29     type: Directory
30     default: {class: Directory, location: 'keep:99999999999999999999999999999998+99',
31       basename: 99999999999999999999999999999998+99}
32   - id: '#main/z'
33     type: Directory
34     default: {class: Directory, basename: anonymous, listing: [{basename: renamed.txt,
35           class: File, location: 'keep:99999999999999999999999999999998+99/file1.txt',
36           nameroot: renamed, nameext: .txt}]}
37   outputs: []
38   steps:
39   - id: '#main/step1'
40     in:
41     - {id: '#main/step1/x', source: '#main/x'}
42     out: []
43     run: '#submit_tool.cwl'
44   id: '#main'