mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-12 09:34:57 +08:00
Raise an exception if the build is not returned from Koji when checking if the buildroot is ready
This commit is contained in:
@@ -199,7 +199,7 @@ class KojiModuleBuilder(GenericBuilder):
|
||||
|
||||
tag_id = self.module_target['build_tag']
|
||||
repo = self.koji_session.getRepo(tag_id)
|
||||
builds = [self.koji_session.getBuild(a) for a in artifacts or []]
|
||||
builds = [self.koji_session.getBuild(a, strict=True) for a in artifacts or []]
|
||||
log.info("%r checking buildroot readiness for "
|
||||
"repo: %r, tag_id: %r, artifacts: %r, builds: %r" % (
|
||||
self, repo, tag_id, artifacts, builds))
|
||||
|
||||
Reference in New Issue
Block a user