This is an automated email from the ASF dual-hosted git repository.
mykolabodnar pushed a commit to branch DLAB-1565-aws
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1565-aws by this push:
new 9ce7393 [DLAB-1565]: [Azure] - Billing on remote endpoint fixed
9ce7393 is described below
commit 9ce739397710c4c21b17bf5f0f4ae2f6aa4fa1ad
Author: bodnarmykola <[email protected]>
AuthorDate: Mon Mar 23 17:03:50 2020 +0200
[DLAB-1565]: [Azure] - Billing on remote endpoint fixed
---
infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
index 4d005db..29b5c26 100644
--- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
+++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
@@ -343,12 +343,9 @@ def
configure_supervisor_endpoint(endpoint_keystore_password):
args.subnet2_id = args.subnet_id
conn.sudo('sed -i
"s|CONF_PARAMETER|--spring.config.location={0}billing_app.yml --conf |g"
{1}/tmp/supervisor_svc.conf'
.format(dlab_conf_dir, args.dlab_path))
- elif args.cloud_provider == 'gcp':
+ elif args.cloud_provider == 'gcp' or args.cloud_provider ==
'azure':
conn.sudo('sed -i
"s|CONF_PARAMETER|--spring.config.location=|g" {}/tmp/supervisor_svc.conf'
.format(args.dlab_path))
- elif args.cloud_provider == 'azure':
- conn.sudo('sed -i "s|CONF_PARAMETER|--conf |g"
{}/tmp/supervisor_svc.conf'
- .format(args.dlab_path))
conn.sudo('sed -i "s|OS_USR|{}|g" {}/tmp/supervisor_svc.conf'
.format(args.os_user, args.dlab_path))
conn.sudo('sed -i "s|WEB_CONF|{}|g" {}/tmp/supervisor_svc.conf'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]