X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/589de3bdd1e9f4f7a2cc64ad502e4d8e77cdd2c8..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 25d02b2b80..42c7b251f8 100644 --- a/sdk/cwl/tests/wf/expect_packed.cwl +++ b/sdk/cwl/tests/wf/expect_packed.cwl @@ -1,36 +1,98 @@ -$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 - - 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'} - 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 +# 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