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 727fe42 [odahu-integration] Created shell script to omit tty error 727fe42 is described below commit 727fe42dfe423ee7b10ab6ad8d5a5783db119e9f Author: Demyan Mysakovets <demian.mysakove...@gmail.com> AuthorDate: Tue Apr 14 20:35:29 2020 +0300 [odahu-integration] Created shell script to omit tty error --- infrastructure-provisioning/src/ssn/scripts/configure_docker.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py index 5b8e948..fd32edf 100644 --- a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py +++ b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py @@ -99,7 +99,10 @@ def login_in_gcr(gcr_creds, odahu_image, dlab_path): 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') + sudo('echo "#!/bin/bash" > /tmp/gcr.sh') + sudo('echo "cat /tmp/dlab-gcr-ro-sa.json | docker login -u _json_key --password-stdin https://gcr.io" > /tmp/gcr.sh') + sudo('chmod +x /tmp/gcr.sh') + sudo('/tmp/gcr.sh') sudo('sed -i "s|ODAHU_IMAGE|{}|" ' '{}sources/infrastructure-provisioning/src/general/files/gcp/odahu_Dockerfile'.format(odahu_image, dlab_path)) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org