mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-16 13:56:11 +08:00
Some logging for buildroot readiness.
This commit is contained in:
@@ -207,13 +207,19 @@ class KojiModuleBuilder(GenericBuilder):
|
|||||||
log.info("%r checking buildroot readiness for "
|
log.info("%r checking buildroot readiness for "
|
||||||
"repo: %r, tag_id: %r, artifacts: %r, builds: %r" % (
|
"repo: %r, tag_id: %r, artifacts: %r, builds: %r" % (
|
||||||
self, repo, tag_id, artifacts, builds))
|
self, repo, tag_id, artifacts, builds))
|
||||||
return bool(koji.util.checkForBuilds(
|
ready = bool(koji.util.checkForBuilds(
|
||||||
self.koji_session,
|
self.koji_session,
|
||||||
tag_id,
|
tag_id,
|
||||||
builds,
|
builds,
|
||||||
repo['create_event'],
|
repo['create_event'],
|
||||||
latest=True,
|
latest=True,
|
||||||
))
|
))
|
||||||
|
if ready:
|
||||||
|
log.info("%r buildroot is ready" % self)
|
||||||
|
else:
|
||||||
|
log.info("%r buildroot is not yet ready.. wait." % self)
|
||||||
|
return ready
|
||||||
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_disttag_srpm(disttag):
|
def get_disttag_srpm(disttag):
|
||||||
|
|||||||
Reference in New Issue
Block a user