This is an automated email from the ASF dual-hosted git repository.

marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 3677b6f  [MXNET-343] Avoid importing docker_cache if feature is not 
used. (#10975)
3677b6f is described below

commit 3677b6fecdac201062d3448eab1a33ba0fd1108b
Author: Pedro Larroy <928489+lar...@users.noreply.github.com>
AuthorDate: Thu May 17 21:02:07 2018 +0200

    [MXNET-343] Avoid importing docker_cache if feature is not used. (#10975)
    
    So boto3 and joblib are not needed
---
 Jenkinsfile | 2 +-
 ci/build.py | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 4d8dfb7..e45bea7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -449,7 +449,7 @@ try {
         }
       }
     },
-    'Raspberry / ARMv6l':{
+    'Raspberry / ARMv6':{
       node('mxnetlinux-cpu') {
         ws('workspace/build-raspberry-armv6') {
           timeout(time: max_time, unit: 'MINUTES') {
diff --git a/ci/build.py b/ci/build.py
index 6b1d23e..deae1d7 100755
--- a/ci/build.py
+++ b/ci/build.py
@@ -33,7 +33,6 @@ import re
 import shutil
 import subprocess
 import sys
-import docker_cache
 from copy import deepcopy
 from itertools import chain
 from subprocess import call, check_call
@@ -232,6 +231,7 @@ def main() -> int:
         platform = args.platform
         tag = get_docker_tag(platform)
         if args.download_docker_cache:
+            import docker_cache
             logging.info('Docker cache download is enabled')
             
docker_cache.load_docker_cache(bucket_name=args.docker_cache_bucket, 
docker_tag=tag)
         build_docker(platform, docker_binary)
@@ -256,6 +256,7 @@ def main() -> int:
         logging.info("Artifacts will be produced in the build/ directory.")
         for platform in platforms:
             if args.download_docker_cache:
+                import docker_cache
                 tag = get_docker_tag(platform)
                 logging.info('Docker cache download is enabled')
                 
docker_cache.load_docker_cache(bucket_name=args.docker_cache_bucket, 
docker_tag=tag)

-- 
To stop receiving notification emails like this one, please contact
marcoab...@apache.org.

Reply via email to