X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e502060ffe4f68d33e2cca8f8d7544ce40d53eb7..ae92d144610446849eb568247a44f02ae985c281:/sdk/cwl/tests/wf/expect_packed.cwl diff --git a/sdk/cwl/tests/wf/expect_packed.cwl b/sdk/cwl/tests/wf/expect_packed.cwl index d7b9d61a74..42c7b251f8 100644 --- a/sdk/cwl/tests/wf/expect_packed.cwl +++ b/sdk/cwl/tests/wf/expect_packed.cwl @@ -1,39 +1,98 @@ -cwlVersion: v1.0 -$graph: -- class: CommandLineTool - requirements: - - class: DockerRequirement - dockerPull: debian:8 - inputs: - - id: '#submit_tool.cwl/x' - type: File - default: - class: File - location: keep:99999999999999999999999999999991+99/blub.txt - inputBinding: - position: 1 - outputs: [] - baseCommand: cat - id: '#submit_tool.cwl' -- class: Workflow - inputs: - - id: '#main/x' - type: File - default: {class: File, location: 'keep:99999999999999999999999999999992+99/blorp.txt', - basename: blorp.txt} - - id: '#main/y' - type: Directory - default: {class: Directory, location: 'keep:99999999999999999999999999999998+99', - basename: 99999999999999999999999999999998+99} - - id: '#main/z' - type: Directory - default: {class: Directory, basename: anonymous, listing: [{basename: renamed.txt, - class: File, location: 'keep:99999999999999999999999999999998+99/file1.txt'}]} - outputs: [] - steps: - - id: '#main/step1' - in: - - {id: '#main/step1/x', source: '#main/x'} - out: [] - run: '#submit_tool.cwl' - id: '#main' +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: Apache-2.0 + +{ + "$graph": [ + { + "baseCommand": "cat", + "class": "CommandLineTool", + "id": "#submit_tool.cwl", + "inputs": [ + { + "default": { + "basename": "blub.txt", + "class": "File", + "location": "keep:5d373e7629203ce39e7c22af98a0f881+52/blub.txt", + "nameext": ".txt", + "nameroot": "blub" + }, + "id": "#submit_tool.cwl/x", + "inputBinding": { + "position": 1 + }, + "type": "File" + } + ], + "outputs": [], + "requirements": [ + { + "class": "DockerRequirement", + "dockerPull": "debian:buster-slim", + "http://arvados.org/cwl#dockerCollectionPDH": "999999999999999999999999999999d4+99" + } + ] + }, + { + "class": "Workflow", + "id": "#main", + "inputs": [ + { + "default": { + "basename": "blorp.txt", + "class": "File", + "location": "keep:169f39d466a5438ac4a90e779bf750c7+53/blorp.txt", + "nameext": ".txt", + "nameroot": "blorp", + "size": 16 + }, + "id": "#main/x", + "type": "File" + }, + { + "default": { + "basename": "99999999999999999999999999999998+99", + "class": "Directory", + "location": "keep:99999999999999999999999999999998+99" + }, + "id": "#main/y", + "type": "Directory" + }, + { + "default": { + "basename": "anonymous", + "class": "Directory", + "listing": [ + { + "basename": "renamed.txt", + "class": "File", + "location": "keep:99999999999999999999999999999998+99/file1.txt", + "nameext": ".txt", + "nameroot": "renamed", + "size": 0 + } + ], + "location": "_:df80736f-f14d-4b10-b2e3-03aa27f034b2" + }, + "id": "#main/z", + "type": "Directory" + } + ], + "outputs": [], + "steps": [ + { + "id": "#main/step1", + "in": [ + { + "id": "#main/step1/x", + "source": "#main/x" + } + ], + "out": [], + "run": "#submit_tool.cwl" + } + ] + } + ], + "cwlVersion": "v1.0" +} \ No newline at end of file