You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/03/02 11:37:36 UTC
[incubator-dlab] 01/02: [DLAB-1539]: changed user tag for notebooks
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DLAB-1539
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 6129bafd762e0ee5929bc437af2885bed5357fba
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Feb 27 12:22:38 2020 +0200
[DLAB-1539]: changed user tag for notebooks
---
.../src/general/scripts/gcp/common_prepare_notebook.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/common_prepare_notebook.py b/infrastructure-provisioning/src/general/scripts/gcp/common_prepare_notebook.py
index 7f14dab..dedf730 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/common_prepare_notebook.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/common_prepare_notebook.py
@@ -45,6 +45,7 @@ if __name__ == "__main__":
notebook_config['project_name'] = (os.environ['project_name']).lower().replace('_', '-')
notebook_config['project_tag'] = (os.environ['project_name']).lower().replace('_', '-')
notebook_config['endpoint_tag'] = (os.environ['endpoint_name']).lower().replace('_', '-')
+ notebook_config['user_tag'] = (os.environ['user_tag']).lower().replace('_', '-')
notebook_config['region'] = os.environ['gcp_region']
notebook_config['zone'] = os.environ['gcp_zone']
@@ -139,7 +140,7 @@ if __name__ == "__main__":
"sbn": notebook_config['service_base_name'],
"project_tag": notebook_config['project_tag'],
"endpoint_tag": notebook_config['endpoint_tag'],
- "user": notebook_config['edge_user_name'],
+ "user": notebook_config['user_tag'],
"product": "dlab",
}
# launching instance for notebook server
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org