[ARVADOS] created: 0403a0c816df1edea311b9197147fd254d131712

Git user git at public.curoverse.com
Thu Feb 16 12:01:34 EST 2017


        at  0403a0c816df1edea311b9197147fd254d131712 (commit)


commit 0403a0c816df1edea311b9197147fd254d131712
Author: Lucas Di Pentima <lucas at curoverse.com>
Date:   Thu Feb 16 14:00:59 2017 -0300

    11121: Add owner_uuid to output collection on crunch-job

diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index caa8047..ae0c501 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -1602,9 +1602,10 @@ sub create_output_collection
 import arvados
 import sys
 print (arvados.api("v1").collections().
-       create(body={"manifest_text": sys.stdin.read()}).
+       create(body={"manifest_text": sys.stdin.read(),
+                    "owner_uuid": sys.argv[2]}).
        execute(num_retries=int(sys.argv[1]))["portable_data_hash"])
-}, retry_count());
+}, retry_count(), $Job->{owner_uuid});
 
   my $task_idx = -1;
   my $manifest_size = 0;

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list