Issue-ID: INT-2239
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I3f7d4d7921e031c4d69ab19862421aeaba4595eb
Not all steps has to have cleanup method
"""
- self._logger.info("*****************************")
- self._logger.info("Start Cleanup step: " + self.name)
- self._logger.info("*****************************")
if self._cleanup:
for step in self._steps:
try:
def cleanup(self) -> None:
"""Cleanup K8S Connectivity information."""
self._logger.info("Clean the k8s connectivity information")
- super().cleanup()
connectinfo = ConnectivityInfo.get_connectivity_info_by_region_id(settings.CLOUD_REGION_ID)
connectinfo.delete()
+ super().cleanup()
Delete enriched CBA file.
"""
- super().cleanup()
Path(settings.CDS_CBA_ENRICHED).unlink()
+ super().cleanup()
class CbaPublishStep(CDSBaseStep):