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

dmysakovets pushed a commit to branch odahu-integration
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/odahu-integration by this push:
     new 6ee5e52  [odahu-integration] Bugfixing
6ee5e52 is described below

commit 6ee5e521bf010538bb0146f397c6d195db015b06
Author: Demyan Mysakovets <demian.mysakove...@gmail.com>
AuthorDate: Fri Jan 31 17:21:42 2020 +0200

    [odahu-integration] Bugfixing
---
 infrastructure-provisioning/src/ssn/scripts/configure_docker.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py 
b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
index 2c54ffe..44e61e3 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
@@ -85,13 +85,13 @@ def prepare_odahu_image(nexus_username, nexus_password, 
nexus_url, dlab_path):
         print('daemon.json was placed')
         # sudo('mv daemon.json /etc/docker/daemon.json')
         # print ('daemon.json was moved')
-        sudo("sed -i \'s|<NEXUS_URL>|{}|g\' 
/etc/docker/daemon.json".format(os.environ['ssn_nexus_url']))
+        sudo("sed -i \'s|<NEXUS_URL>|{}|g\' 
/etc/docker/daemon.json".format(nexus_url))
         print('nexus url was filled in')
         sudo('systemctl restart docker')
         sudo('docker login -u {} -p {} {}'.format(nexus_username, 
nexus_password, nexus_url))
         sudo(
             "sed -i \'s|<NEXUS_URL>|{}|g\' 
{}sources/infrastructure-provisioning/src/general/files/gcp/odahu_Dockerfile".format(
-                ssn_nexus_url, dlab_path))
+                nexus_url, dlab_path))
     #            sudo("sed -i \'s|<ODAHU_REPO>|{}|g\' 
{}sources/infrastructure-provisioning/src/general/files/gcp/odahu_Dockerfile". \
     #                 format(os.environ['odahu_docker_private_repo'], 
os.environ['ssn_dlab_path']))
     except Exception as err:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to