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 74f8966  [odahu-integration] Bugfix
74f8966 is described below

commit 74f89664d023cae8963cab03bf4c73a893b0cbfd
Author: Demyan Mysakovets <demian.mysakove...@gmail.com>
AuthorDate: Tue Mar 17 19:16:33 2020 +0200

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

diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py 
b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
index af5d1c2..ad4ef73 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
@@ -89,7 +89,9 @@ def login_in_gcr(gcr_creds, odahu_image, dlab_path):
             local('scp -i {} /tmp/dlab-gcr-ro-sa 
{}:/tmp/dlab-gcr-ro-sa'.format(args.keyfile, env.host_string))
             sudo('cat /tmp/dlab-gcr-ro-sa | base64 --decode > 
/tmp/dlab-gcr-ro-sa.json')
             sudo('cat /tmp/dlab-gcr-ro-sa.json | docker login -u _json_key 
--password-stdin https://gcr.io')
-            sudo('sed -i "s|ODAHU_IMAGE|{}|" 
{}general/files/gcp/odahu_Dockerfile'.format(odahu_image, dlab_path))
+            sudo('sed -i "s|ODAHU_IMAGE|{}|" '
+                 
'{}sources/infrastructure-provisioning/src/general/files/gcp/odahu_Dockerfile'.format(odahu_image,
+                                                                               
                        dlab_path))
         except Exception as err:
             traceback.print_exc()
             print('Failed to prepare odahu image: ', str(err))


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

Reply via email to