Esempio n. 1
0
 def make_cleanup(self):
     self.deployment.update_status(consts.DeployStatus.CLEANUP_STARTED)
     self.cleanup()
     provider = self.get_provider()
     if provider:
         provider.destroy_servers()
     self.deployment.update_status(consts.DeployStatus.CLEANUP_FINISHED)
Esempio n. 2
0
 def make_cleanup(self):
     self.deployment.update_status(consts.DeployStatus.CLEANUP_STARTED)
     self.cleanup()
     provider = self.get_provider()
     if provider:
         provider.destroy_servers()
     self.deployment.update_status(consts.DeployStatus.CLEANUP_FINISHED)