You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/03/16 10:33:36 UTC

[incubator-dlab] branch DLAB-1630 created (now 48bcba2)

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a change to branch DLAB-1630
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git.


      at 48bcba2  [DLAB-1630]: made bucket name lover case for FE

This branch includes the following new commits:

     new 48bcba2  [DLAB-1630]: made bucket name lover case for FE

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org


[incubator-dlab] 01/01: [DLAB-1630]: made bucket name lover case for FE

Posted by lf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DLAB-1630
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 48bcba2aff53efc710bc166f075e439711d1866f
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Mon Mar 16 12:33:13 2020 +0200

    [DLAB-1630]: made bucket name lover case for FE
---
 .../src/general/scripts/aws/edge_configure.py                      | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/infrastructure-provisioning/src/general/scripts/aws/edge_configure.py b/infrastructure-provisioning/src/general/scripts/aws/edge_configure.py
index 244cd63..03f17fe 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/edge_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/edge_configure.py
@@ -65,9 +65,10 @@ if __name__ == "__main__":
         edge_conf['tag_name'] = edge_conf['service_base_name'] + '-tag'
         edge_conf['bucket_name'] = '{0}-{1}-{2}-bucket'.format(edge_conf['service_base_name'],
                                                                edge_conf['project_name'],
-                                                               edge_conf['endpoint_name']).replace('_', '-')
+                                                               edge_conf['endpoint_name']).replace('_', '-').lover()
         edge_conf['shared_bucket_name'] = '{0}-{1}-shared-bucket'.format(edge_conf['service_base_name'],
-                                                                         edge_conf['endpoint_name']).replace('_', '-')
+                                                                         edge_conf['endpoint_name']
+                                                                         ).replace('_', '-').lover()
         edge_conf['edge_security_group_name'] = '{}-{}-{}-edge-sg'.format(edge_conf['service_base_name'],
                                                                           edge_conf['project_name'],
                                                                           edge_conf['endpoint_name'])
@@ -265,7 +266,7 @@ if __name__ == "__main__":
                    "ip": edge_conf['edge_private_ip'],
                    "instance_id": dlab.meta_lib.get_instance_by_name(edge_conf['tag_name'], edge_conf['instance_name']),
                    "key_name": edge_conf['key_name'],
-                   "user_own_bicket_name": edge_conf['bucket_name'],
+                   "user_own_bucket_name": edge_conf['bucket_name'],
                    "shared_bucket_name": edge_conf['shared_bucket_name'],
                    "tunnel_port": "22",
                    "socks_port": "1080",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org