This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch DLAB-1158
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1158 by this push:
     new e3021ac  added gcp gke deploying
e3021ac is described below

commit e3021ac59111aade9f2d19fbf9dbffe7f1c24385
Author: Oleh Martushevskyi <oleh_martushevs...@epam.com>
AuthorDate: Wed Dec 18 15:03:10 2019 +0200

    added gcp gke deploying
---
 infrastructure-provisioning/terraform/bin/dlab.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/infrastructure-provisioning/terraform/bin/dlab.py 
b/infrastructure-provisioning/terraform/bin/dlab.py
index 5b574bd..2f81954 100644
--- a/infrastructure-provisioning/terraform/bin/dlab.py
+++ b/infrastructure-provisioning/terraform/bin/dlab.py
@@ -293,12 +293,6 @@ class TerraformProvider:
                    .format(self.no_color, params_str, args_str))
         logging.info(command)
         Console.execute_to_command_line(command)
-        state_file = tf_params['-state']
-        state_file_backup = tf_params['-state'] + '.backup'
-        if os.path.isfile(state_file):
-            os.remove(state_file)
-        if os.path.isfile(state_file_backup):
-            os.remove(state_file_backup)
 
     @staticmethod
     def output(tf_params, *args):


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to