Check skip_phases in config file
JIRA: COMPOSE-4143 Fixes: https://pagure.io/pungi/issue/1344 Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
parent
e4f878a498
commit
af5ee7030d
@ -233,7 +233,9 @@ def main():
|
||||
if not pungi.checks.check(conf):
|
||||
sys.exit(1)
|
||||
pungi.checks.check_umask(logger)
|
||||
if not pungi.checks.check_skip_phases(logger, opts.skip_phase, opts.just_phase):
|
||||
if not pungi.checks.check_skip_phases(
|
||||
logger, opts.skip_phase + conf.get("skip_phases", []), opts.just_phase
|
||||
):
|
||||
sys.exit(1)
|
||||
errors, warnings = pungi.checks.validate(conf)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user