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 4bf39e9  [DLAB-1546]: added name convention changes
4bf39e9 is described below

commit 4bf39e951794931ec08470a8b365ea80a695edfd
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Thu Feb 27 11:57:54 2020 +0200

    [DLAB-1546]: added name convention changes
---
 infrastructure-provisioning/src/general/scripts/aws/project_prepare.py | 3 ++-
 .../src/general/scripts/aws/tensor-rstudio_configure.py                | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/infrastructure-provisioning/src/general/scripts/aws/project_prepare.py 
b/infrastructure-provisioning/src/general/scripts/aws/project_prepare.py
index 5b9a3f4..5152588 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/project_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/project_prepare.py
@@ -568,7 +568,8 @@ if __name__ == "__main__":
             project_conf['project_tag'], project_conf['tag_name'], 
project_conf['bucket_name'],
             project_conf['bucket_additional_tags']).replace(';', ',')
         params = "--bucket_name {} --bucket_tags {} --region {} 
--bucket_name_tag {}" \
-                 .format(project_conf['bucket_name'], 
project_conf['bucket_tags'], project_conf['region'], 
project_conf['bucket_name_tag'])
+                 .format(project_conf['bucket_name'], 
project_conf['bucket_tags'], project_conf['region'],
+                         project_conf['bucket_name_tag'])
         try:
             local("~/scripts/{}.py {}".format('common_create_bucket', params))
         except:
diff --git 
a/infrastructure-provisioning/src/general/scripts/aws/tensor-rstudio_configure.py
 
b/infrastructure-provisioning/src/general/scripts/aws/tensor-rstudio_configure.py
index aac71b0..628838e 100644
--- 
a/infrastructure-provisioning/src/general/scripts/aws/tensor-rstudio_configure.py
+++ 
b/infrastructure-provisioning/src/general/scripts/aws/tensor-rstudio_configure.py
@@ -103,6 +103,7 @@ if __name__ == "__main__":
                                                                      
edge_instance_name).get('Public')
         keyfile_name = "{}{}.pem".format(os.environ['conf_key_dir'], 
os.environ['conf_key_name'])
         edge_ip = 
dlab.meta_lib.get_instance_ip_address(notebook_config['tag_name'], 
edge_instance_name).get('Private')
+        notebook_config['rstudio_pass'] = dlab.fab.id_generator()
     except Exception as err:
         dlab.fab.append_result("Failed to generate variables dictionary.", 
str(err))
         dlab.actions_lib.remove_ec2(notebook_config['tag_name'], 
notebook_config['instance_name'])


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to