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 e24b1e3 [odahu-integration] Bugfixing
e24b1e3 is described below
commit e24b1e3fa78e5a6a5de4574310a6efcd11b810de
Author: Demyan Mysakovets <[email protected]>
AuthorDate: Wed Apr 15 19:38:43 2020 +0300
[odahu-integration] Bugfixing
---
infrastructure-provisioning/src/ssn/scripts/configure_docker.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
index 284d796..aed455c 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
@@ -97,9 +97,9 @@ def login_in_gcr(os_user, gcr_creds, odahu_image, dlab_path):
try:
with open('/tmp/config', 'w') as f:
f.write(base64.b64decode(gcr_creds) + "==")
+ local('scp -i {} /tmp/config {}:/tmp/config'.format(args.keyfile,
env.host_string, os_user))
sudo('mkdir /home/{}/.docker'.format(os_user))
- local('scp -i {} /tmp/config
{}:/home/{}/.docker/config.json'.format(args.keyfile, env.host_string, os_user))
- #sudo('cat /tmp/config')
+ sudo('cp /tmp/config /home/{}/.docker/config.json'.format(os_user))
#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: [email protected]
For additional commands, e-mail: [email protected]