This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch DLAB-1546
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1546 by this push:
new cad6bee [DLAB-1546]: added name convention changes
cad6bee is described below
commit cad6bee31457f0861877e5b96d176bf8f7974e06
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Wed Mar 4 16:39:02 2020 +0200
[DLAB-1546]: added name convention changes
---
infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py | 2 +-
infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py
b/infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py
index dff50d1..ea23ab7 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_configure.py
@@ -65,7 +65,7 @@ if __name__ == "__main__":
print('[DERIVING NAMES]')
ssn_conf['billing_enabled'] = True
- # We need to cut service_base_name to 12 symbols do to the Azure Name
length limitation
+ # We need to cut service_base_name to 20 symbols do to the Azure Name
length limitation
ssn_conf['service_base_name'] = os.environ['conf_service_base_name'] =
dlab.fab.replace_multi_symbols(
os.environ['conf_service_base_name'][:20], '-', True)
# Check azure predefined resources
diff --git
a/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
b/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
index 3181ab5..408f423 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
@@ -56,7 +56,7 @@ if __name__ == "__main__":
and not os.environ.get('azure_source_resource_group_name'):
raise Exception('Not possible to deploy private environment
without predefined resource_group_name '
'or source_group_name')
- # We need to cut service_base_name to 12 symbols do to the Azure Name
length limitation
+ # We need to cut service_base_name to 20 symbols do to the Azure Name
length limitation
ssn_conf['service_base_name'] = os.environ['conf_service_base_name'] =
dlab.fab.replace_multi_symbols(
os.environ['conf_service_base_name'][:20], '-', True)
# Check azure predefined resources
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]