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

lfrolov pushed a commit to branch DATALAB-408-2
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit fcf1b2f80fbc7ca3fa0dca2a6eed8a3859339469
Author: leonidfrolov <[email protected]>
AuthorDate: Fri Oct 29 16:50:58 2021 +0300

    [DATALAB-408]: removed docker image pull
---
 infrastructure-provisioning/scripts/deploy_datalab.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/infrastructure-provisioning/scripts/deploy_datalab.py 
b/infrastructure-provisioning/scripts/deploy_datalab.py
index 98278b9..b6309d3 100644
--- a/infrastructure-provisioning/scripts/deploy_datalab.py
+++ b/infrastructure-provisioning/scripts/deploy_datalab.py
@@ -299,9 +299,6 @@ def build_docker_images(args):
     if args.conf_repository_user and args.conf_repository_pass and 
args.conf_repository_port and args.conf_repository_address and 
args.conf_download_docker_images == 'true':
         subprocess.run('sudo docker login -u {0} -p {1} {2}:{3}'
                         .format(args.conf_repository_user, 
args.conf_repository_pass, args.conf_repository_address, 
args.conf_repository_port), shell=True, check=True)
-        subprocess.run('sudo docker pull 
{}:{}/docker.datalab-base-{}'.format(args.conf_repository_address, 
args.conf_repository_port, args.conf_cloud_provider), shell=True, check=True)
-        subprocess.run('sudo docker image tag {}:{}/docker.datalab-base-{} 
docker.datalab-base'.format(args.conf_repository_address, 
args.conf_repository_port, args.conf_cloud_provider), shell=True, check=True)
-        subprocess.run('sudo docker image rm 
{}:{}/docker.datalab-base-{}'.format(args.conf_repository_address, 
args.conf_repository_port, args.conf_cloud_provider), shell=True, check=True)
         subprocess.run('sudo docker pull 
{}:{}/docker.datalab-ssn-{}'.format(args.conf_repository_address, 
args.conf_repository_port, args.conf_cloud_provider), shell=True, check=True)
         subprocess.run('sudo docker image tag {}:{}/docker.datalab-ssn-{} 
docker.datalab-ssn'.format(args.conf_repository_address, 
args.conf_repository_port, args.conf_cloud_provider), shell=True, check=True)
         subprocess.run('sudo docker image rm 
{}:{}/docker.datalab-ssn-{}'.format(args.conf_repository_address, 
args.conf_repository_port, args.conf_cloud_provider), shell=True, check=True)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to