From: Peter Amstutz Date: Mon, 10 Aug 2020 20:09:35 +0000 (-0400) Subject: 16353: Add a section "Upgrading your workflow to CWL v1.2" X-Git-Tag: 2.1.0~143^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/a44e0b163687a53bebf89472e4643e68cf1c567c 16353: Add a section "Upgrading your workflow to CWL v1.2" Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- diff --git a/doc/user/cwl/cwl-versions.html.textile.liquid b/doc/user/cwl/cwl-versions.html.textile.liquid index 7bb9fdcbe6..5fcfcbe3bc 100644 --- a/doc/user/cwl/cwl-versions.html.textile.liquid +++ b/doc/user/cwl/cwl-versions.html.textile.liquid @@ -9,7 +9,13 @@ Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 {% endcomment %} -h2. Upgrading to CWL v1.1 +h2(#v12). Upgrading your workflows to CWL v1.2 + +If you are starting from a CWL v1.0 document, see "Upgrading your workflows to CWL v1.1":#v11 below. + +If you are starting from a CWL v1.1 document, you should be able to trivially change @cwlVersion: v1.1@ to @cwlVersion: v1.2@ to be able to take advantage of the new features of v1.2, such as conditional workflow steps. + +h2(#v11). Upgrading your workflows to CWL v1.1 CWL v1.1 introduces several features to the standard that were previously available as Arvados extensions. CWL v1.1 syntax is backwards compatible with v1.0, so you can just change @cwlVersion: v1.0@ to @cwlVersion: v1.1@ and update your script to using the standard features. On Arvados, there is only one behavior change between CWL v1.0 and v1.1 to be aware of: for performance reasons, Directory listings are no longer loaded by default. To control loading Directory listings, use "loadListing":https://www.commonwl.org/v1.1/CommandLineTool.html#CommandInputParameter or "LoadListingRequirement":https://www.commonwl.org/v1.1/CommandLineTool.html#LoadListingRequirement (the extension @cwltool:LoadListingRequirement@ is deprecated.)