[ARVADOS] updated: 426417d8de4f288f6b360006cfe61c591b5e10a1

git at public.curoverse.com git at public.curoverse.com
Mon Jun 30 15:16:23 EDT 2014


Summary of changes:
 sdk/cli/bin/crunch-job | 1 +
 1 file changed, 1 insertion(+)

       via  426417d8de4f288f6b360006cfe61c591b5e10a1 (commit)
      from  6cd7a831d12be568d8e7e32b0860d494245bdb2f (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 426417d8de4f288f6b360006cfe61c591b5e10a1
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Mon Jun 30 15:16:21 2014 -0400

    Set $HOME to /tmp/crunch-job for docker.

diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index befc0b6..b0d779b 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -662,6 +662,7 @@ for (my $todo_ptr = 0; $todo_ptr <= $#jobstep_todo; $todo_ptr ++)
       $command .= "-v \Q$ENV{TASK_WORK}:/tmp/crunch-job:rw\E ";
       $command .= "-v \Q$ENV{CRUNCH_SRC}:/tmp/crunch-src:ro\E ";
       $command .= "-v \Q$ENV{TASK_KEEPMOUNT}:/mnt:ro\E ";
+      $command .= "-e \QHOME=/tmp/crunch-job\E ";
       while (my ($env_key, $env_val) = each %ENV)
       {
         if ($env_key =~ /^(ARVADOS|JOB|TASK)_/) {

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list