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 89982e2 [odahu-integration] Bugfixing
89982e2 is described below
commit 89982e27cbabc605db715cb3c1ba7e6c15616bca
Author: Demyan Mysakovets <[email protected]>
AuthorDate: Wed Apr 15 17:56:30 2020 +0300
[odahu-integration] Bugfixing
---
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 9aff096..73111f1 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
@@ -99,7 +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))
- with open('/home/{}/.docker'.format(os_user), 'w') as f:
+ with open('/home/{}/.docker/config.json'.format(os_user), 'w') as f:
f.write(base64.b64decode(gcr_creds) + "==")
#sudo('cat /tmp/config')
#sudo('cat /tmp/config | base64 --decode >
/home/{}/.docker/config.json'.format(os_user))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]