[ARVADOS] updated: 2b324ca45515fbf079afb15db821f437ee6b64a5

git at public.curoverse.com git at public.curoverse.com
Wed Feb 10 10:22:41 EST 2016


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

       via  2b324ca45515fbf079afb15db821f437ee6b64a5 (commit)
      from  74bfe6e5794b42d3158d9358245802e73942b909 (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 2b324ca45515fbf079afb15db821f437ee6b64a5
Author: Tom Clegg <tom at curoverse.com>
Date:   Wed Feb 10 10:22:07 2016 -0500

    Emit log when installing docker image.
    
    Avoids creating the illusion that "clean work dirs" is taking forever.
    
    No issue #

diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index f153ec8..b44381f 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -415,11 +415,13 @@ if (!defined $no_clear_tmp) {
 # If this job requires a Docker image, install that.
 my ($docker_locator, $docker_stream, $docker_hash, $docker_limitmem, $dockeruserarg);
 if ($docker_locator = $Job->{docker_image_locator}) {
+  Log (undef, "Install docker image $docker_locator");
   ($docker_stream, $docker_hash) = find_docker_image($docker_locator);
   if (!$docker_hash)
   {
     croak("No Docker image hash found from locator $docker_locator");
   }
+  Log (undef, "docker image hash is $docker_hash");
   $docker_stream =~ s/^\.//;
   my $docker_install_script = qq{
 if ! $docker_bin images -q --no-trunc --all | grep -qxF \Q$docker_hash\E; then

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list