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/11/02 10:43:38 UTC

[incubator-datalab] branch epm-v2.5.2.1 updated: changed jupyter url generation

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

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


The following commit(s) were added to refs/heads/epm-v2.5.2.1 by this push:
     new b78c98bf0 changed jupyter url generation
b78c98bf0 is described below

commit b78c98bf0be9db0339e26121c4106a913cf2978c
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Nov 2 12:43:24 2022 +0200

    changed jupyter url generation
---
 .../src/general/scripts/gcp/jupyter-gpu_configure.py                     | 1 +
 infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py | 1 +
 .../src/general/scripts/gcp/jupyterlab_configure.py                      | 1 +
 infrastructure-provisioning/src/general/scripts/gcp/tensor_configure.py  | 1 +
 4 files changed, 4 insertions(+)

diff --git a/infrastructure-provisioning/src/general/scripts/gcp/jupyter-gpu_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/jupyter-gpu_configure.py
index 7c13d08bb..a317e39f3 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/jupyter-gpu_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/jupyter-gpu_configure.py
@@ -321,6 +321,7 @@ if __name__ == "__main__":
         ip_address = GCPMeta.get_private_ip_address(notebook_config['instance_name'])
         jupyter_ip_url = "http://" + ip_address + ":8888/{}/".format(notebook_config['exploratory_name'])
         ungit_ip_url = "http://" + ip_address + ":8085/{}-ungit/".format(notebook_config['exploratory_name'])
+        edge_instance_hostname = notebook_config['project_name'] + '.datalab-ssn.epm-aidp.projects.epam.com'
         jupyter_notebook_access_url = "https://" + edge_instance_hostname + "/{}/".format(
             notebook_config['exploratory_name'])
         jupyter_ungit_access_url = "https://" + edge_instance_hostname + "/{}-ungit/".format(
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py
index 17e3007ad..f57b3b21e 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py
@@ -318,6 +318,7 @@ if __name__ == "__main__":
         ip_address = GCPMeta.get_private_ip_address(notebook_config['instance_name'])
         jupyter_ip_url = "http://" + ip_address + ":8888/{}/".format(notebook_config['exploratory_name'])
         ungit_ip_url = "http://" + ip_address + ":8085/{}-ungit/".format(notebook_config['exploratory_name'])
+        edge_instance_hostname = notebook_config['project_name'] + '.datalab-ssn.epm-aidp.projects.epam.com'
         jupyter_notebook_access_url = "https://" + edge_instance_hostname + "/{}/".format(
             notebook_config['exploratory_name'])
         jupyter_ungit_access_url = "https://" + edge_instance_hostname + "/{}-ungit/".format(
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/jupyterlab_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/jupyterlab_configure.py
index 2baa8ee1c..baca16e69 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/jupyterlab_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/jupyterlab_configure.py
@@ -298,6 +298,7 @@ if __name__ == "__main__":
         ip_address = GCPMeta.get_private_ip_address(notebook_config['instance_name'])
         jupyter_ip_url = "http://" + ip_address + ":8888/{}/".format(notebook_config['exploratory_name'])
         ungit_ip_url = "http://" + ip_address + ":8085/{}-ungit/".format(notebook_config['exploratory_name'])
+        edge_instance_hostname = notebook_config['project_name'] + '.datalab-ssn.epm-aidp.projects.epam.com'
         jupyter_notebook_acces_url = "http://" + edge_instance_hostname + "/{}/".format(
             notebook_config['exploratory_name'])
         jupyter_ungit_acces_url = "http://" + edge_instance_hostname + "/{}-ungit/".format(
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/tensor_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/tensor_configure.py
index 9a4557be6..627b339c0 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/tensor_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/tensor_configure.py
@@ -273,6 +273,7 @@ if __name__ == "__main__":
         tensorboard_url = "http://" + ip_address + ":6006/"
         jupyter_ip_url = "http://" + ip_address + ":8888/{}/".format(notebook_config['exploratory_name'])
         ungit_ip_url = "http://" + ip_address + ":8085/{}-ungit/".format(notebook_config['exploratory_name'])
+        edge_instance_hostname = notebook_config['project_name'] + '.datalab-ssn.epm-aidp.projects.epam.com'
         jupyter_notebook_access_url = "https://" + edge_instance_hostname + "/{}/".format(
             notebook_config['exploratory_name'])
         tensorboard_access_url = "https://" + edge_instance_hostname + "/{}-tensor/".format(


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