You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2022/07/01 13:25:08 UTC

[incubator-datalab] 01/01: changed urls for notebooks

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

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

commit 4a41e8485e1c00d372e9bca0940e708fbc75031b
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Fri Jul 1 16:24:48 2022 +0300

    changed urls for notebooks
---
 .../src/general/scripts/aws/jupyter_configure.py                        | 2 +-
 .../src/general/scripts/aws/tensor-jupyterlab_configure.py              | 2 +-
 infrastructure-provisioning/src/general/scripts/aws/tensor_configure.py | 2 +-
 .../src/general/scripts/aws/zeppelin_configure.py                       | 2 ++
 4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py b/infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py
index b71790ca5..97f16853f 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py
@@ -304,7 +304,7 @@ if __name__ == "__main__":
         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'].lower())
+            '{}.datalab01.demo.dlabanalytics.com'.format(notebook_config['project_name'].lower())
         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 831489034..525ac5cbf 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
@@ -280,7 +280,7 @@ if __name__ == "__main__":
         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'].lower())
+            '{}.datalab01.demo.dlabanalytics.com'.format(notebook_config['project_name'].lower())
         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 e834fb800..f11f52486 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/tensor_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/tensor_configure.py
@@ -296,7 +296,7 @@ if __name__ == "__main__":
         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'].lower())
+            '{}.datalab01.demo.dlabanalytics.com'.format(notebook_config['project_name'].lower())
         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/zeppelin_configure.py b/infrastructure-provisioning/src/general/scripts/aws/zeppelin_configure.py
index 3a12ee6f9..35a295ee6 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/zeppelin_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/zeppelin_configure.py
@@ -303,6 +303,8 @@ if __name__ == "__main__":
         dns_name = datalab.meta_lib.get_instance_hostname(notebook_config['tag_name'], notebook_config['instance_name'])
         zeppelin_ip_url = "http://" + ip_address + ":8080/"
         zeppelin_dns_url = "http://" + dns_name + ":8080/"
+        notebook_config['edge_instance_hostname'] = \
+            '{}.datalab01.demo.dlabanalytics.com'.format(notebook_config['project_name'].lower())
         zeppelin_notebook_access_url = "https://{}/{}/".format(notebook_config['edge_instance_hostname'],
                                                                notebook_config['exploratory_name'])
         zeppelin_ungit_access_url = "https://{}/{}-ungit/".format(notebook_config['edge_instance_hostname'],


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org