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/09/08 10:17:01 UTC
[incubator-datalab] 03/03: [DATALAB-1408]: fixed azure image list
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-1408
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit a9d0782d470c6e0ee8c08fb7fa0beb57e6397c29
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Sep 8 13:16:27 2022 +0300
[DATALAB-1408]: fixed azure image list
---
infrastructure-provisioning/src/ssn/scripts/docker_build.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/infrastructure-provisioning/src/ssn/scripts/docker_build.py b/infrastructure-provisioning/src/ssn/scripts/docker_build.py
index cdb2ee786..9c368b67b 100644
--- a/infrastructure-provisioning/src/ssn/scripts/docker_build.py
+++ b/infrastructure-provisioning/src/ssn/scripts/docker_build.py
@@ -39,7 +39,6 @@ if sys.argv[1] == 'all':
'rstudio',
'zeppelin',
'tensor',
- 'tensor-rstudio',
'deeplearning',
'dataengine',
'dataengine-service']
@@ -54,14 +53,14 @@ def image_build(src_path, node):
os_family = 'redhat'
if subprocess.run("uname -r | awk -F '-' '{print $3}'", capture_output=True, shell=True, check=True).stdout.decode('UTF-8').rstrip("\n\r") == 'aws':
cloud_provider = 'aws'
- node.extend(['tensor-jupyterlab'])
+ node.extend(['tensor-rstudio', 'tensor-jupyterlab'])
elif subprocess.run("uname -r | awk -F '-' '{print $3}'", capture_output=True, shell=True, check=True).stdout.decode('UTF-8').rstrip("\n\r") == 'azure':
cloud_provider = 'azure'
if not path.exists('{}base/azure_auth.json'.format(src_path)):
subprocess.run('cp /home/datalab-user/keys/azure_auth.json {}base/azure_auth.json'.format(src_path), shell=True, check=True)
else:
cloud_provider = 'gcp'
- node.extend(['jupyter-gpu', 'superset'])
+ node.extend(['tensor-rstudio', 'jupyter-gpu', 'superset'])
subprocess.run('cd {2}; docker build --build-arg OS={0} --build-arg SRC_PATH= --file general/files/{1}/base_Dockerfile -t docker.datalab-base:latest .'.format(
os_family, cloud_provider, src_path), shell=True, check=True)
try:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org