mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-04 19:28:49 +08:00
Merge #551 Do not fail a module build in buildroot_ready when repo is not generated yet.
This commit is contained in:
@@ -104,6 +104,11 @@ class KojiModuleBuilder(GenericBuilder):
|
||||
log.info("%r checking buildroot readiness for "
|
||||
"repo: %r, tag_id: %r, artifacts: %r, builds: %r" % (
|
||||
self, repo, tag_id, artifacts, builds))
|
||||
|
||||
if not repo:
|
||||
log.info("Repo is not generated yet, buildroot is not ready yet.")
|
||||
return False
|
||||
|
||||
ready = bool(koji.util.checkForBuilds(
|
||||
self.koji_session,
|
||||
tag_id,
|
||||
|
||||
Reference in New Issue
Block a user