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

lfrolov pushed a commit to branch epm-v2.5.2-tpcp
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/epm-v2.5.2-tpcp by this push:
     new b52fc1c5b made notebook access urls use domain name
     new 6482f422b Merge branch 'epm-v2.5.2-tpcp' of 
https://github.com/apache/incubator-dlab into epm-v2.5.2-tpcp
b52fc1c5b is described below

commit b52fc1c5ba906a2c51b352cc56188f2dedc51d66
Author: leonidfrolov <[email protected]>
AuthorDate: Thu May 5 17:20:20 2022 +0300

    made notebook access urls use domain name
---
 infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py | 1 +
 .../src/general/scripts/aws/tensor-jupyterlab_configure.py               | 1 +
 infrastructure-provisioning/src/general/scripts/aws/tensor_configure.py  | 1 +
 3 files changed, 3 insertions(+)

diff --git 
a/infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py 
b/infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py
index cba99112f..b6ec52e72 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py
@@ -303,6 +303,7 @@ if __name__ == "__main__":
         dns_name = 
datalab.meta_lib.get_instance_hostname(notebook_config['tag_name'], 
notebook_config['instance_name'])
         jupyter_ip_url = "http://"; + ip_address + 
":8888/{}/".format(notebook_config['exploratory_name'])
         jupyter_dns_url = "http://"; + dns_name + 
":8888/{}/".format(notebook_config['exploratory_name'])
+        notebook_config['edge_instance_hostname'] = 
'{}.grain.dlabanalytics.com'.format(notebook_config['project_name'])
         jupyter_notebook_access_url = 
"https://{}/{}/".format(notebook_config['edge_instance_hostname'],
                                                               
notebook_config['exploratory_name'])
         jupyter_ungit_access_url = 
"https://{}/{}-ungit/".format(notebook_config['edge_instance_hostname'],
diff --git 
a/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
 
b/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
index 19b870f5f..5ceda4112 100644
--- 
a/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
+++ 
b/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
@@ -279,6 +279,7 @@ if __name__ == "__main__":
         dns_name = 
datalab.meta_lib.get_instance_hostname(notebook_config['tag_name'], 
notebook_config['instance_name'])
         tensorboard_url = "http://"; + ip_address + ":6006/"
         jupyter_ip_url = "http://"; + ip_address + 
":8888/{}/".format(notebook_config['exploratory_name'])
+        notebook_config['edge_instance_hostname'] = 
'{}.grain.dlabanalytics.com'.format(notebook_config['project_name'])
         jupyter_notebook_access_url = 
"https://{}/{}/".format(notebook_config['edge_instance_hostname'],
                                                               
notebook_config['exploratory_name'])
         tensorboard_access_url = 
"https://{}/{}-tensor/".format(notebook_config['edge_instance_hostname'],
diff --git 
a/infrastructure-provisioning/src/general/scripts/aws/tensor_configure.py 
b/infrastructure-provisioning/src/general/scripts/aws/tensor_configure.py
index d3b7d8ecb..7eed6ae44 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/tensor_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/tensor_configure.py
@@ -295,6 +295,7 @@ if __name__ == "__main__":
         dns_name = 
datalab.meta_lib.get_instance_hostname(notebook_config['tag_name'], 
notebook_config['instance_name'])
         tensorboard_url = "http://"; + ip_address + ":6006/"
         jupyter_ip_url = "http://"; + ip_address + 
":8888/{}/".format(notebook_config['exploratory_name'])
+        notebook_config['edge_instance_hostname'] = 
'{}.grain.dlabanalytics.com'.format(notebook_config['project_name'])
         jupyter_notebook_access_url = 
"https://{}/{}/".format(notebook_config['edge_instance_hostname'],
                                                               
notebook_config['exploratory_name'])
         tensorboard_access_url = 
"https://{}/{}-tensor/".format(notebook_config['edge_instance_hostname'],


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

Reply via email to