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

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


The following commit(s) were added to refs/heads/DLAB-1415 by this push:
     new 7807888  [DLAB-1415]: changed azure notebook images tags
7807888 is described below

commit 78078888a97933381e72bd46de92f87989820c5f
Author: leonidfrolov <[email protected]>
AuthorDate: Mon Mar 23 10:16:16 2020 +0200

    [DLAB-1415]: changed azure notebook images tags
---
 .../src/general/scripts/azure/common_create_notebook_image.py         | 4 ++--
 .../src/general/scripts/azure/jupyterlab_configure.py                 | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/infrastructure-provisioning/src/general/scripts/azure/common_create_notebook_image.py
 
b/infrastructure-provisioning/src/general/scripts/azure/common_create_notebook_image.py
index bc6fcbd..5746fb8 100644
--- 
a/infrastructure-provisioning/src/general/scripts/azure/common_create_notebook_image.py
+++ 
b/infrastructure-provisioning/src/general/scripts/azure/common_create_notebook_image.py
@@ -52,13 +52,13 @@ if __name__ == "__main__":
                                                                 
image_conf['endpoint_name'],
                                                                 
image_conf['application'],
                                                                 
image_conf['image_name'])
-        image_conf['tags'] = {"Name": image_conf['instance_name'],
+        image_conf['tags'] = {"Instance_Name": image_conf['instance_name'],
                               "SBN": image_conf['service_base_name'],
                               "User": image_conf['user_name'],
                               "project_tag": image_conf['project_tag'],
                               "endpoint_tag": image_conf['endpoint_tag'],
                               "Image": image_conf['image_name'],
-                              "FIN": image_conf['full_image_name'],
+                              "Name": image_conf['full_image_name'],
                               os.environ['conf_billing_tag_key']: 
os.environ['conf_billing_tag_value']}
 
         instance_hostname = 
AzureMeta.get_private_ip_address(image_conf['resource_group_name'],
diff --git 
a/infrastructure-provisioning/src/general/scripts/azure/jupyterlab_configure.py 
b/infrastructure-provisioning/src/general/scripts/azure/jupyterlab_configure.py
index 506fdb6..4c44bbd 100644
--- 
a/infrastructure-provisioning/src/general/scripts/azure/jupyterlab_configure.py
+++ 
b/infrastructure-provisioning/src/general/scripts/azure/jupyterlab_configure.py
@@ -69,7 +69,7 @@ if __name__ == "__main__":
                 notebook_config['project_name'],
                 notebook_config['endpoint_name'],
                 os.environ['application'])
-            notebook_config['image_tags'] = {"Name": 
notebook_config['shared_image_enabled'],
+            notebook_config['image_tags'] = {"Name": 
notebook_config['expected_image_name'],
                                              "SBN": 
notebook_config['service_base_name'],
                                              "User": 
notebook_config['user_name'],
                                              "project_tag": 
notebook_config['project_tag'],
@@ -81,7 +81,7 @@ if __name__ == "__main__":
                 notebook_config['service_base_name'],
                 notebook_config['endpoint_name'],
                 os.environ['application'])
-            notebook_config['image_tags'] = {"Name": 
notebook_config['shared_image_enabled'],
+            notebook_config['image_tags'] = {"Name": 
notebook_config['expected_image_name'],
                                              "SBN": 
notebook_config['service_base_name'],
                                              "User": 
notebook_config['user_name'],
                                              "endpoint_tag": 
notebook_config['endpoint_tag'],


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

Reply via email to