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 7465e6d [DLAB-1546]: added name convention changes
7465e6d is described below
commit 7465e6d0d433c73a1ac2c3351c9e4a7cbb14d08f
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Mon Mar 2 13:38:36 2020 +0200
[DLAB-1546]: added name convention changes
---
.../src/general/scripts/azure/common_create_storage_account.py | 2 +-
infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git
a/infrastructure-provisioning/src/general/scripts/azure/common_create_storage_account.py
b/infrastructure-provisioning/src/general/scripts/azure/common_create_storage_account.py
index d5da728..d2e3dcc 100644
---
a/infrastructure-provisioning/src/general/scripts/azure/common_create_storage_account.py
+++
b/infrastructure-provisioning/src/general/scripts/azure/common_create_storage_account.py
@@ -46,7 +46,7 @@ if __name__ == "__main__":
check_account = True
print("REQUESTED STORAGE ACCOUNT {} ALREADY
EXISTS".format(storage_account.name))
if not check_account:
- account_name = id_generator()
+ account_name = id_generator().lower()
check = AzureMeta().check_account_availability(account_name)
if check.name_available:
print("Creating storage account {}.".format(account_name))
diff --git
a/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
b/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
index 4ccf3e3..8feb2a5 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
@@ -480,7 +480,6 @@ if __name__ == "__main__":
"subnet_id": ssn_conf['subnet_name'],
"security_id": ssn_conf['firewall_name'],
"instance_shape": ssn_conf['instance_size'],
- "shared_bucket_name": ssn_conf['shared_bucket_name'],
"region": ssn_conf['region'],
"action": "Create SSN instance"}
f.write(json.dumps(res))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]