This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DLAB-1810 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit d9c40f5bf257ac6ed125ca4d90a6b635b2981b31 Author: leonidfrolov <frolovl...@gmail.com> AuthorDate: Wed May 27 11:09:41 2020 +0300 [DLAB-1810]: temporarily turned of instance deletion on failure --- .../src/general/lib/os/debian/notebook_lib.py | 6 ++++-- .../src/general/scripts/gcp/superset_configure.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py index 99bc7ac..e5aeb7b 100644 --- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py +++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py @@ -437,11 +437,13 @@ def install_caffe2(os_user, caffe2_version, cmake_version): if not exists('/home/{}/.ensure_dir/caffe2_ensured'.format(os_user)): env.shell = "/bin/bash -l -c -i" manage_pkg('update', 'remote', '') - manage_pkg('-y install --no-install-recommends', 'remote', 'build-essential cmake git libgoogle-glog-dev libprotobuf-dev protobuf-compiler python-dev python-pip') + manage_pkg('-y install --no-install-recommends', 'remote', 'build-essential cmake git libgoogle-glog-dev ' + 'libprotobuf-dev protobuf-compiler python-dev python-pip') sudo('pip2 install numpy=={} protobuf --no-cache-dir'.format(os.environ['notebook_numpy2_version'])) sudo('pip3 install numpy=={} protobuf --no-cache-dir'.format(os.environ['notebook_numpy_version'])) manage_pkg('-y install --no-install-recommends', 'remote', 'libgflags-dev') - manage_pkg('-y install --no-install-recommends', 'remote', 'libgtest-dev libiomp-dev libleveldb-dev liblmdb-dev libopencv-dev libopenmpi-dev libsnappy-dev openmpi-bin openmpi-doc python-pydot') + manage_pkg('-y install --no-install-recommends', 'remote', 'libgtest-dev libiomp-dev libleveldb-dev liblmdb-dev ' + 'libopencv-dev libopenmpi-dev libsnappy-dev openmpi-bin openmpi-doc python-pydot') sudo('pip2 install flask graphviz hypothesis jupyter matplotlib==2.0.2 pydot python-nvd3 pyyaml requests scikit-image ' 'scipy setuptools tornado --no-cache-dir') sudo('pip3 install flask graphviz hypothesis jupyter matplotlib==2.0.2 pydot python-nvd3 pyyaml requests scikit-image ' diff --git a/infrastructure-provisioning/src/general/scripts/gcp/superset_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/superset_configure.py index 021eb4c..111f6d4 100644 --- a/infrastructure-provisioning/src/general/scripts/gcp/superset_configure.py +++ b/infrastructure-provisioning/src/general/scripts/gcp/superset_configure.py @@ -221,7 +221,7 @@ if __name__ == "__main__": raise Exception except Exception as err: dlab.fab.append_result("Failed to configure superset.", str(err)) - GCPActions.remove_instance(notebook_config['instance_name'], notebook_config['zone']) + #GCPActions.remove_instance(notebook_config['instance_name'], notebook_config['zone']) sys.exit(1) try: --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org