[ARVADOS] updated: 1.1.0-140-g423364e
Git user
git at public.curoverse.com
Wed Nov 15 13:34:42 EST 2017
Summary of changes:
sdk/cwl/tests/arvados-tests.sh | 2 +-
sdk/cwl/tests/arvados-tests.yml | 6 +++++
sdk/cwl/tests/wf/{scatter2.cwl => runin-wf.cwl} | 30 +++++++++++--------------
3 files changed, 20 insertions(+), 18 deletions(-)
copy sdk/cwl/tests/wf/{scatter2.cwl => runin-wf.cwl} (69%)
via 423364e3772de59ca4638388605fd556a2a0da3e (commit)
from 2b713e548510a99803c41ceb13d47fa2f38b51bf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 423364e3772de59ca4638388605fd556a2a0da3e
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date: Wed Nov 15 13:34:32 2017 -0500
12601: Add test
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>
diff --git a/sdk/cwl/tests/arvados-tests.sh b/sdk/cwl/tests/arvados-tests.sh
index f7cebd4..26b3161 100755
--- a/sdk/cwl/tests/arvados-tests.sh
+++ b/sdk/cwl/tests/arvados-tests.sh
@@ -4,6 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
if ! arv-get d7514270f356df848477718d58308cc4+94 > /dev/null ; then
- arv-put --portable-data-hash testdir
+ arv-put --portable-data-hash testdir/*
fi
exec cwltest --test arvados-tests.yml --tool arvados-cwl-runner $@ -- --disable-reuse --compute-checksum
diff --git a/sdk/cwl/tests/arvados-tests.yml b/sdk/cwl/tests/arvados-tests.yml
index a0de236..f6271b8 100644
--- a/sdk/cwl/tests/arvados-tests.yml
+++ b/sdk/cwl/tests/arvados-tests.yml
@@ -117,3 +117,9 @@
out: null
tool: 12418-glob-empty-collection.cwl
doc: "Test glob output on empty collection"
+
+- job: null
+ output:
+ out: out
+ tool: wf/runin-wf.cwl
+ doc: "RunInSingleContainer cwl.input.json needs to be consistent with pathmapper manipulations"
diff --git a/sdk/cwl/tests/wf/runin-wf.cwl b/sdk/cwl/tests/wf/runin-wf.cwl
new file mode 100644
index 0000000..a192b86
--- /dev/null
+++ b/sdk/cwl/tests/wf/runin-wf.cwl
@@ -0,0 +1,64 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+class: Workflow
+cwlVersion: v1.0
+$namespaces:
+ arv: "http://arvados.org/cwl#"
+inputs:
+ sleeptime:
+ type: int
+ default: 5
+ fileblub:
+ type: File
+ default:
+ class: File
+ location: keep:d7514270f356df848477718d58308cc4+94/a
+ secondaryFiles:
+ - class: File
+ location: keep:d7514270f356df848477718d58308cc4+94/b
+outputs:
+ out:
+ type: string
+ outputSource: substep/out
+requirements:
+ SubworkflowFeatureRequirement: {}
+ ScatterFeatureRequirement: {}
+ InlineJavascriptRequirement: {}
+ StepInputExpressionRequirement: {}
+steps:
+ substep:
+ in:
+ sleeptime: sleeptime
+ fileblub: fileblub
+ out: [out]
+ hints:
+ - class: arv:RunInSingleContainer
+ run:
+ class: Workflow
+ id: mysub
+ inputs:
+ fileblub: File
+ outputs:
+ out:
+ type: string
+ outputSource: sleep1/out
+ steps:
+ sleep1:
+ in:
+ fileblub: fileblub
+ out: [out]
+ run:
+ class: CommandLineTool
+ id: subtool
+ inputs:
+ fileblub:
+ type: File
+ inputBinding: {position: 1}
+ outputs:
+ out:
+ type: string
+ outputBinding:
+ outputEval: "out"
+ baseCommand: cat
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list