This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DATALAB-2409 in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 43353f6ff7240f9bc55c799959c56b5c16d61022 Author: leonidfrolov <[email protected]> AuthorDate: Fri Oct 15 14:53:54 2021 +0300 [DATALAB-2409]: some tensor fixes --- infrastructure-provisioning/src/general/files/azure/tensor_Dockerfile | 1 - infrastructure-provisioning/src/general/lib/os/fab.py | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/infrastructure-provisioning/src/general/files/azure/tensor_Dockerfile b/infrastructure-provisioning/src/general/files/azure/tensor_Dockerfile index 4bb12ee..3ecb0ff 100644 --- a/infrastructure-provisioning/src/general/files/azure/tensor_Dockerfile +++ b/infrastructure-provisioning/src/general/files/azure/tensor_Dockerfile @@ -35,7 +35,6 @@ COPY general/templates/os/pyspark_local_template.json /root/templates/ COPY general/templates/os/py3spark_local_template.json /root/templates/ COPY general/templates/os/pyspark_dataengine_template.json /root/templates/ COPY general/templates/os/sparkmagic_config_template.json /root/templates/ -COPY general/templates/os/${OS}/ungit.service /root/templates/ COPY general/templates/os/tensorboard.service /root/templates/ COPY general/templates/os/inactive.sh /root/templates/ COPY general/templates/os/inactive.service /root/templates/ diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py b/infrastructure-provisioning/src/general/lib/os/fab.py index 6717ece..3d43914 100644 --- a/infrastructure-provisioning/src/general/lib/os/fab.py +++ b/infrastructure-provisioning/src/general/lib/os/fab.py @@ -949,6 +949,8 @@ def configure_jupyter(os_user, jupyter_conf_file, templates_dir, jupyter_version conn.sudo('pip3 install notebook=={} --no-cache-dir'.format(jupyter_version)) conn.sudo('pip3 install jupyter --no-cache-dir') conn.sudo('rm -rf {}'.format(jupyter_conf_file)) + elif os.environ['application'] != 'tensor': + conn.sudo('pip3 install environment_kernels') conn.run('jupyter notebook --generate-config --config {}'.format(jupyter_conf_file)) conn.run('mkdir -p ~/.jupyter/custom/') conn.run('echo "#notebook-container { width: auto; }" > ~/.jupyter/custom/custom.css') --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
