X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2b50a5838d80dc6e93864a0b8180b423497a8e1d..5d5af52a33ec8b10a9af6afd50141db3923441ec:/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 84b89afa4c..f45077197f 100644 --- a/sdk/cwl/tests/wf/expect_packed.cwl +++ b/sdk/cwl/tests/wf/expect_packed.cwl @@ -1,60 +1,44 @@ -{ - "$graph": [ - { - "baseCommand": "cat", - "class": "CommandLineTool", - "id": "#submit_tool.cwl", - "inputs": [ - { - "default": { - "class": "File", - "location": "keep:99999999999999999999999999999991+99/tool/blub.txt" - }, - "id": "#submit_tool.cwl/x", - "inputBinding": { - "position": 1 - }, - "type": "File" - } - ], - "outputs": [], - "requirements": [ - { - "class": "DockerRequirement", - "dockerImageId": "debian:8", - "dockerPull": "debian:8" - } - ] - }, - { - "class": "Workflow", - "id": "#main", - "inputs": [ - { - "default": { - "basename": "blorp.txt", - "class": "File", - "location": "keep:99999999999999999999999999999991+99/input/blorp.txt" - }, - "id": "#main/x", - "type": "File" - } - ], - "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 +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: Apache-2.0 + +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:5d373e7629203ce39e7c22af98a0f881+52/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:169f39d466a5438ac4a90e779bf750c7+53/blorp.txt', + size: 16, basename: blorp.txt, nameroot: blorp, nameext: .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', + nameroot: renamed, nameext: .txt}]} + outputs: [] + steps: + - id: '#main/step1' + in: + - {id: '#main/step1/x', source: '#main/x'} + out: [] + run: '#submit_tool.cwl' + id: '#main'