[bug] preflight-prevent-actions-dep-tiller-states
* moved prefight to the top of sync to prevent any actions
This commit is contained in:
parent
50c7ab4b04
commit
e046ee4c23
|
@ -87,6 +87,12 @@ class Armada(object):
|
||||||
'''
|
'''
|
||||||
|
|
||||||
# extract known charts on tiller right now
|
# extract known charts on tiller right now
|
||||||
|
if not self.skip_pre_flight:
|
||||||
|
LOG.info("Performing Pre-Flight Checks")
|
||||||
|
self.pre_flight_checks()
|
||||||
|
else:
|
||||||
|
LOG.info("Skipping Pre-Flight Checks")
|
||||||
|
|
||||||
known_releases = self.tiller.list_charts()
|
known_releases = self.tiller.list_charts()
|
||||||
prefix = self.config.get('armada').get('release_prefix')
|
prefix = self.config.get('armada').get('release_prefix')
|
||||||
|
|
||||||
|
@ -94,12 +100,6 @@ class Armada(object):
|
||||||
LOG.debug("Release %s, Version %s found on tiller", release[0],
|
LOG.debug("Release %s, Version %s found on tiller", release[0],
|
||||||
release[1])
|
release[1])
|
||||||
|
|
||||||
if not self.skip_pre_flight:
|
|
||||||
LOG.info("Performing Checking Pre Flight Tasks")
|
|
||||||
self.pre_flight_checks()
|
|
||||||
else:
|
|
||||||
LOG.info("Skipping Pre flight Checks")
|
|
||||||
|
|
||||||
for entry in self.config['armada']['charts']:
|
for entry in self.config['armada']['charts']:
|
||||||
|
|
||||||
chart = dotify(entry['chart'])
|
chart = dotify(entry['chart'])
|
||||||
|
|
Loading…
Reference in New Issue