Skip to content
This repository has been archived by the owner on Jan 19, 2018. It is now read-only.

Commit

Permalink
Implement atomic deployments for openshift provider. Fixes #421
Browse files Browse the repository at this point in the history
  • Loading branch information
rtnpro committed Jan 11, 2016
1 parent 288bfc7 commit 3e85bff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion atomicapp/providers/openshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,11 @@ def undeploy(self):
if self.dryrun:
logger.info("DRY-RUN: DELETE %s", url)
else:
self.oc.delete(url)
try:
self.oc.delete(url)
except Exception as e:
if not self.ignore_errors:
raise e

def _process_artifacts(self):
"""
Expand Down

0 comments on commit 3e85bff

Please sign in to comment.