X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/474ed0b55fcf7f8c9d6c195df829ef9b2ecac798..44c95f99098fa6c6acbfa82d4b6cbc6015eb6e39:/doc/user/cwl/cwl-style.html.textile.liquid diff --git a/doc/user/cwl/cwl-style.html.textile.liquid b/doc/user/cwl/cwl-style.html.textile.liquid index 0debd16a15..db03adf1c0 100644 --- a/doc/user/cwl/cwl-style.html.textile.liquid +++ b/doc/user/cwl/cwl-style.html.textile.liquid @@ -3,6 +3,11 @@ layout: default navsection: userguide title: Best Practices for writing CWL ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} * To run on Arvados, a workflow should provide a @DockerRequirement@ in the @hints@ section. @@ -168,3 +173,8 @@ steps: out: [out] run: tool3.cwl + +* When migrating from crunch v1 API (--api=jobs) to the crunch v2 API (--api=containers) there are a few differences in behavior: +** The tool is limited to accessing only collections which are explicitly listed in the input, and further limited to only the subdirectories of collections listed in input. For example, given an explicit file input @/dir/subdir/file1.txt@, a tool will not be able to implicitly access the file @/dir/file2.txt@. Use @secondaryFiles@ or a @Directory@ input to describe trees of files. +** Files listed in @InitialWorkDirRequirement@ appear in the output directory as normal files (not symlinks) but cannot be moved, renamed or deleted. These files will be added to the output collection but without any additional copies of the underlying data. +** Tools are disallowed network access by default. Tools which require network access must include @arv:APIRequirement: {}@ in their @requirements@ section.