You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dm...@apache.org on 2020/04/15 13:18:43 UTC

[incubator-dlab] branch odahu-integration updated: [odahu-integration] Added 'cat' action for testing purpose

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 bb66347  [odahu-integration] Added 'cat' action for testing purpose
bb66347 is described below

commit bb6634750666b60dc0a242f8b078dbabdd99d6d9
Author: Demyan Mysakovets <de...@gmail.com>
AuthorDate: Wed Apr 15 16:17:39 2020 +0300

    [odahu-integration] Added 'cat' action for testing purpose
---
 infrastructure-provisioning/src/ssn/scripts/configure_docker.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
index a671faf..43d94a8 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
@@ -99,6 +99,7 @@ def login_in_gcr(os_user, gcr_creds, odahu_image, dlab_path):
             f.write(gcr_creds)
         local('scp -i {} /tmp/config {}:/tmp/config'.format(args.keyfile, env.host_string))
         sudo('mkdir /home/{}/.docker'.format(os_user))
+        sudo('cat /tmp/config')
         sudo('cat /tmp/config | base64 --decode > /home/{}/.docker/config.json'.format(os_user))
         sudo('sed -i "s|ODAHU_IMAGE|{}|" {}sources/infrastructure-provisioning/src/general/files/gcp/odahu_Dockerfile'.format(odahu_image, dlab_path))
     except Exception as err:


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