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

commit 4b6a7cab08bcf76391b7c986f4ca6fecd7acfdd3
Author: Demyan Mysakovets <demian.mysakove...@gmail.com>
AuthorDate: Mon Mar 16 19:05:03 2020 +0200

    [odahu-integration] Bugfix
---
 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 f0a7989..b4bb1db 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
@@ -85,6 +85,7 @@ def login_in_gcr(gcr_creds):
     try:
         with open('/tmp/dlab-gcr-ro-sa.json', 'w') as f:
             f.write(json.dumps(decoded_creds))
+        local('scp -i {} /tmp/dlab-gcr-ro-sa.json 
{}:/tmp/dlab-gcr-ro-sa.json'.format(args.keyfile, env.host_string))
         sudo('cat /tmp/dlab-gcr-ro-sa.json | docker login -u _json_key 
--password-stdin https://gcr.io')
         sudo('rm /tmp/dlab-gcr-ro-sa.json')
     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