marcoabreu commented on a change in pull request #18056: Fix ci/docker_cache.py
URL: https://github.com/apache/incubator-mxnet/pull/18056#discussion_r408426593
 
 

 ##########
 File path: ci/build.py
 ##########
 @@ -71,7 +71,7 @@ def get_docker_binary(use_nvidia_docker: bool) -> str:
 
 
 def build_docker(platform: str, docker_binary: str, registry: str, 
num_retries: int, no_cache: bool,
-                 cache_intermediate: bool) -> str:
+                 cache_intermediate: bool = False) -> str:
 
 Review comment:
   Well there has been some back and forth between refactors - maybe somebody 
removed it :/. Initially, I designed it that way that intermediary layers were 
kept since that's the whole point of the partial cache. This test validates 
that assumption: 
https://github.com/apache/incubator-mxnet/blob/master/ci/test_docker_cache.py#L184
   
   Note that this test suite is not run in CI...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to