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/02/10 08:00:46 UTC

[incubator-datalab] branch DATALAB-2674 created (now 19e2fb1)

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

lfrolov pushed a change to branch DATALAB-2674
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git.


      at 19e2fb1  [DATALAB-2674]: fixed variable in project prepare

This branch includes the following new commits:

     new 19e2fb1  [DATALAB-2674]: fixed variable in project prepare

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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


[incubator-datalab] 01/01: [DATALAB-2674]: fixed variable in project prepare

Posted by lf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 19e2fb1e5557eb26bc1bb8e740d9d2b438750e8d
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Feb 10 10:00:32 2022 +0200

    [DATALAB-2674]: fixed variable in project prepare
---
 .../src/general/scripts/gcp/project_prepare.py                       | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py b/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py
index 1da4145..15a7270 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py
@@ -122,7 +122,10 @@ if __name__ == "__main__":
             project_conf['user_subnets_range'] = ''
 
         project_conf['gcp_bucket_enable_versioning'] = os.environ['gcp_bucket_enable_versioning']
-        project_conf['gcp_cmek_resource_name'] = os.environ['gcp_cmek_resource_name']
+        if 'gcp_cmek_resource_name' in os.environ:
+            project_conf['gcp_cmek_resource_name'] = os.environ['gcp_cmek_resource_name']
+        else:
+            project_conf['gcp_cmek_resource_name'] = ''
         # FUSE in case of absence of user's key
         try:
             project_conf['user_key'] = os.environ['key']

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