This is an automated email from the ASF dual-hosted git repository. omartushevskyi pushed a commit to branch DLAB-1472 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1472 by this push: new 4e73796 [DLAB-1472]: fixed issue with local endpoint 4e73796 is described below commit 4e73796d3d591c60a8df2e6d1e3e2afbc44a1bc6 Author: Oleh Martushevskyi <oleh_martushevs...@epam.com> AuthorDate: Thu Jan 23 17:10:47 2020 +0200 [DLAB-1472]: fixed issue with local endpoint --- .../terraform/bin/deploy/endpoint_fab.py | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py index 2278399..4cb7916 100644 --- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py +++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py @@ -511,18 +511,11 @@ def ensure_jar_endpoint(): web_path = '{}/webapp'.format(args.dlab_path) if not exists(conn, web_path): conn.run('mkdir -p {}'.format(web_path)) - if args.cloud_provider == "aws": - conn.run('wget -P {} --user={} --password={} ' - 'https://{}/repository/packages/aws/provisioning-service-' - '2.2.jar --no-check-certificate' - .format(web_path, args.repository_user, - args.repository_pass, args.repository_address)) - elif args.cloud_provider == "gcp": - conn.run('wget -P {} --user={} --password={} ' - 'https://{}/repository/packages/gcp/provisioning-service-' - '2.2.jar --no-check-certificate' - .format(web_path, args.repository_user, - args.repository_pass, args.repository_address)) + conn.run('wget -P {} --user={} --password={} ' + 'https://{}/repository/packages/aws/provisioning-service-' + '2.2.jar --no-check-certificate' + .format(web_path, args.repository_user, + args.repository_pass, args.repository_address)) conn.run('mv {0}/*.jar {0}/provisioning-service.jar' .format(web_path)) conn.sudo('touch {}'.format(ensure_file)) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org