You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dm...@apache.org on 2019/11/07 12:16:41 UTC

[incubator-dlab] 01/01: [DLAB-1249] Fixed notebook secondary image creation

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

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

commit 893b2c01311c686c95d0d3c457a95860907c8a19
Author: Demyan Mysakovets <de...@gmail.com>
AuthorDate: Thu Nov 7 14:16:26 2019 +0200

    [DLAB-1249] Fixed notebook secondary image creation
---
 .../src/general/scripts/gcp/jupyter_configure.py                        | 2 +-
 .../src/general/scripts/gcp/jupyterlab_configure.py                     | 2 +-
 .../src/general/scripts/gcp/rstudio_configure.py                        | 2 +-
 .../src/general/scripts/gcp/tensor-rstudio_configure.py                 | 2 +-
 infrastructure-provisioning/src/general/scripts/gcp/tensor_configure.py | 2 +-
 .../src/general/scripts/gcp/zeppelin_configure.py                       | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py
index 7178cef..f49724c 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py
@@ -58,7 +58,7 @@ if __name__ == "__main__":
     if notebook_config['shared_image_enabled'] == 'false':
         notebook_config['expected_primary_image_name'] = '{}-{}-{}-{}-primary-image'.format(
                                                         notebook_config['service_base_name'], notebook_config['endpoint_tag'], notebook_config['project_name'], os.environ['application'])
-        notebook_config['expected_secondary_image_name'] = '{}-{}-{}-secondary-image'.format(
+        notebook_config['expected_secondary_image_name'] = '{}-{}-{}-{}-secondary-image'.format(
                                                         notebook_config['service_base_name'], notebook_config['endpoint_tag'], notebook_config['project_name'], os.environ['application'])
         notebook_config['image_labels'] = {"sbn": notebook_config['service_base_name'],
                                            "endpoint_tag": notebook_config['endpoint_tag'],
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/jupyterlab_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/jupyterlab_configure.py
index a3df028..9246352 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/jupyterlab_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/jupyterlab_configure.py
@@ -80,7 +80,7 @@ if __name__ == "__main__":
         notebook_config['expected_primary_image_name'] = '{}-{}-{}-{}-primary-image'.format(
             notebook_config['service_base_name'], notebook_config['endpoint_tag'], notebook_config['project_name'],
             os.environ['application'])
-        notebook_config['expected_secondary_image_name'] = '{}-{}-{}-secondary-image'.format(
+        notebook_config['expected_secondary_image_name'] = '{}-{}-{}-{}-secondary-image'.format(
             notebook_config['service_base_name'], notebook_config['endpoint_tag'], notebook_config['project_name'],
             os.environ['application'])
         notebook_config['image_labels'] = {"sbn": notebook_config['service_base_name'],
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/rstudio_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/rstudio_configure.py
index f4fd45e..38c20f2 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/rstudio_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/rstudio_configure.py
@@ -70,7 +70,7 @@ if __name__ == "__main__":
     else:
         notebook_config['expected_primary_image_name'] = '{}-{}-{}-primary-image'.format(
             notebook_config['service_base_name'], notebook_config['endpoint_tag'], os.environ['application'])
-        notebook_config['expected_secondary_image_name'] = '{}-{}-{}-secondary-image'.format(
+        notebook_config['expected_secondary_image_name'] = '{}-{}-{}-{}-secondary-image'.format(
             notebook_config['service_base_name'], notebook_config['endpoint_tag'], os.environ['application'])
         notebook_config['image_labels'] = {"sbn": notebook_config['service_base_name'],
                                            "endpoint_tag": notebook_config['endpoint_tag'],
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/tensor-rstudio_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/tensor-rstudio_configure.py
index 867b180..ac4cdde 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/tensor-rstudio_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/tensor-rstudio_configure.py
@@ -65,7 +65,7 @@ if __name__ == "__main__":
         notebook_config['expected_primary_image_name'] = '{}-{}-{}-{}-primary-image'.format(
             notebook_config['service_base_name'], notebook_config['endpoint_tag'], notebook_config['project_name'],
             os.environ['application'])
-        notebook_config['expected_secondary_image_name'] = '{}-{}-{}-secondary-image'.format(
+        notebook_config['expected_secondary_image_name'] = '{}-{}-{}-{}-secondary-image'.format(
             notebook_config['service_base_name'], notebook_config['endpoint_tag'], notebook_config['project_name'],
             os.environ['application'])
         notebook_config['image_labels'] = {"sbn": notebook_config['service_base_name'],
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/tensor_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/tensor_configure.py
index a6c081b..9a984ee 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/tensor_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/tensor_configure.py
@@ -61,7 +61,7 @@ if __name__ == "__main__":
         notebook_config['expected_primary_image_name'] = '{}-{}-{}-{}-primary-image'.format(
             notebook_config['service_base_name'], notebook_config['endpoint_tag'], notebook_config['project_name'],
             os.environ['application'])
-        notebook_config['expected_secondary_image_name'] = '{}-{}-{}-secondary-image'.format(
+        notebook_config['expected_secondary_image_name'] = '{}-{}-{}-{}-secondary-image'.format(
             notebook_config['service_base_name'], notebook_config['endpoint_tag'], notebook_config['project_name'],
             os.environ['application'])
         notebook_config['image_labels'] = {"sbn": notebook_config['service_base_name'],
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/zeppelin_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/zeppelin_configure.py
index 15fb912..4627f6b 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/zeppelin_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/zeppelin_configure.py
@@ -61,7 +61,7 @@ if __name__ == "__main__":
         notebook_config['expected_primary_image_name'] = '{}-{}-{}-{}-primary-image'.format(
             notebook_config['service_base_name'], notebook_config['endpoint_tag'], notebook_config['project_name'],
             os.environ['application'])
-        notebook_config['expected_secondary_image_name'] = '{}-{}-{}-secondary-image'.format(
+        notebook_config['expected_secondary_image_name'] = '{}-{}-{}-{}-secondary-image'.format(
             notebook_config['service_base_name'], notebook_config['endpoint_tag'], notebook_config['project_name'],
             os.environ['application'])
         notebook_config['image_labels'] = {"sbn": notebook_config['service_base_name'],


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