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/08 08:54:28 UTC

[incubator-dlab] 01/01: [DLAB-1249] Fixed 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 5656d84d8b90495ec9544894cc5cbbbfec5c338c
Author: Demyan Mysakovets <de...@gmail.com>
AuthorDate: Fri Nov 8 10:53:59 2019 +0200

    [DLAB-1249] Fixed secondary image creation
---
 .../src/general/scripts/gcp/jupyter_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 +-
 5 files changed, 5 insertions(+), 5 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/rstudio_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/rstudio_configure.py
index f4fd45e..00ac3fa 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/rstudio_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/rstudio_configure.py
@@ -60,7 +60,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-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