Add deploy converge check option

This commit is contained in:
Moritz 2024-02-27 10:23:27 +01:00
parent 8528511e49
commit 7207f936b0
1 changed files with 3 additions and 2 deletions

View File

@ -515,7 +515,8 @@ def get_deployed_apps(apps):
@click.option('-a', '--apps', multiple=True)
@click.option('-r', '--run-cmds', is_flag=True)
@click.option('-f', '--force', is_flag=True)
def deploy(apps, run_cmds, force):
@click.option('-c', '--converge-checks', is_flag=True)
def deploy(apps, run_cmds, force, converge_checks):
""" Deploy all the apps """
deployed_domains = get_deployed_apps(apps)
for _, instance_config in CONFIGS.items():
@ -537,7 +538,7 @@ def deploy(apps, run_cmds, force):
cmd.append("--chaos")
if force:
cmd.append("--force")
if not run_cmds:
if not run_cmds and not converge_checks:
cmd.append("--no-converge-checks")
cmd.append(domain)
if version not in ['latest', 'chaos']: