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

commit 58d11ddbe19590c43c5dd69a551dd0b832598b67
Author: Demyan Mysakovets <[email protected]>
AuthorDate: Tue Mar 17 14:46:29 2020 +0200

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

diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py 
b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
index a3e4e46..b640e0e 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
@@ -83,7 +83,7 @@ def add_china_repository(dlab_path):
 def login_in_gcr(gcr_creds):
     try:
         with open('/tmp/dlab-gcr-ro-sa', 'w') as f:
-            f.write(json.dumps(gcr_creds))
+            f.write(gcr_creds)
         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')


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

Reply via email to