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/09/10 08:42:33 UTC
[incubator-dlab] 04/04: [DLAB-1864]: uncommented instance
termination
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DLAB-1864
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit b311723ab8b3736ad4bb8cc3a8fc5e163ae4d2df
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Sep 9 17:34:49 2020 +0300
[DLAB-1864]: uncommented instance termination
---
.../src/general/scripts/azure/jupyter_configure.py | 4 ++--
.../src/general/scripts/azure/rstudio_configure.py | 2 +-
.../src/general/scripts/azure/tensor_configure.py | 2 +-
.../src/general/scripts/azure/zeppelin_configure.py | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/infrastructure-provisioning/src/general/scripts/azure/jupyter_configure.py b/infrastructure-provisioning/src/general/scripts/azure/jupyter_configure.py
index b139991..49f9872 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/jupyter_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/jupyter_configure.py
@@ -207,7 +207,7 @@ if __name__ == "__main__":
raise Exception
except Exception as err:
dlab.fab.append_result("Failed to configure jupyter.", str(err))
- #AzureActions.remove_instance(notebook_config['resource_group_name'], notebook_config['instance_name'])
+ AzureActions.remove_instance(notebook_config['resource_group_name'], notebook_config['instance_name'])
sys.exit(1)
try:
@@ -294,7 +294,7 @@ if __name__ == "__main__":
local("~/scripts/{}.py {}".format('common_configure_proxy', params))
except Exception as err:
dlab.fab.append_result("Failed creating image.", str(err))
- #AzureActions.remove_instance(notebook_config['resource_group_name'], notebook_config['instance_name'])
+ AzureActions.remove_instance(notebook_config['resource_group_name'], notebook_config['instance_name'])
sys.exit(1)
try:
diff --git a/infrastructure-provisioning/src/general/scripts/azure/rstudio_configure.py b/infrastructure-provisioning/src/general/scripts/azure/rstudio_configure.py
index c28d841..8487238 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/rstudio_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/rstudio_configure.py
@@ -207,7 +207,7 @@ if __name__ == "__main__":
raise Exception
except Exception as err:
dlab.fab.append_result("Failed to configure rstudio.", str(err))
- #AzureActions.remove_instance(notebook_config['resource_group_name'], notebook_config['instance_name'])
+ AzureActions.remove_instance(notebook_config['resource_group_name'], notebook_config['instance_name'])
sys.exit(1)
try:
diff --git a/infrastructure-provisioning/src/general/scripts/azure/tensor_configure.py b/infrastructure-provisioning/src/general/scripts/azure/tensor_configure.py
index 6fac335..914f686 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/tensor_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/tensor_configure.py
@@ -206,7 +206,7 @@ if __name__ == "__main__":
raise Exception
except Exception as err:
dlab.fab.append_result("Failed to configure TensorFlow.", str(err))
- #AzureActions.remove_instance(notebook_config['resource_group_name'], notebook_config['instance_name'])
+ AzureActions.remove_instance(notebook_config['resource_group_name'], notebook_config['instance_name'])
sys.exit(1)
try:
diff --git a/infrastructure-provisioning/src/general/scripts/azure/zeppelin_configure.py b/infrastructure-provisioning/src/general/scripts/azure/zeppelin_configure.py
index 8fbb0ac..91eb529 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/zeppelin_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/zeppelin_configure.py
@@ -219,7 +219,7 @@ if __name__ == "__main__":
raise Exception
except Exception as err:
dlab.fab.append_result("Failed to configure zeppelin.", str(err))
- #AzureActions.remove_instance(notebook_config['resource_group_name'], notebook_config['instance_name'])
+ AzureActions.remove_instance(notebook_config['resource_group_name'], notebook_config['instance_name'])
sys.exit(1)
try:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org