[ARVADOS] updated: 15ccbbab5a621a1cbfeaeb7c65ee35f72da3efb2

git at public.curoverse.com git at public.curoverse.com
Thu Jul 2 09:47:22 EDT 2015


Summary of changes:
 doc/user/topics/run-command.html.textile.liquid | 13 +++++++++++++
 1 file changed, 13 insertions(+)

       via  15ccbbab5a621a1cbfeaeb7c65ee35f72da3efb2 (commit)
      from  e4895820d9302048cc41e4b119450bbb8c01f70f (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 15ccbbab5a621a1cbfeaeb7c65ee35f72da3efb2
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Jul 2 09:47:52 2015 -0400

    6264: Add task.env to documentation.

diff --git a/doc/user/topics/run-command.html.textile.liquid b/doc/user/topics/run-command.html.textile.liquid
index f02a6e6..7883919 100644
--- a/doc/user/topics/run-command.html.textile.liquid
+++ b/doc/user/topics/run-command.html.textile.liquid
@@ -239,6 +239,19 @@ Provide standard input and standard output redirection.
 
 @task.stdout@ specifies the desired file name in the output directory to save the content of standard output.  When command describes a Unix pipeline, this captures the output of the last command.
 
+h3. task.env
+
+Set environment variables for the command.  Accepts an object mapping environment variables to the desired values.  Parameter substitution is performed on values, but not on the environment variable names themselves.  Example usage:
+
+<pre>
+{
+  "command": ["/bin/sh", "-c", "echo $MY_ENV_VAR"],
+  "task.env": {
+    "MY_ENV_VAR": "Hello world!"
+  }
+}
+</pre>
+
 h3. task.vwd
 
 Background: because Keep collections are read-only, this does not play well with certain tools that expect to be able to write their outputs alongside their inputs (such as tools that generate indexes that are closely associated with the original file.)  The run-command's solution to this is the "virtual working directory".

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list