mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-09 21:59:58 +08:00
Do not submit failed components for a build
This commit is contained in:
@@ -96,6 +96,7 @@ def start_build_batch(config, module, session, builder, components=None):
|
||||
c for c in module.component_builds
|
||||
if (c.state != koji.BUILD_STATES['COMPLETE']
|
||||
and c.state != koji.BUILD_STATES['BUILDING']
|
||||
and c.state != koji.BUILD_STATES['FAILED']
|
||||
and c.batch == module.batch)
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user