mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-04 19:28:49 +08:00
Better logging here.
This commit is contained in:
@@ -202,7 +202,7 @@ class ModuleBuild(MBSBase):
|
||||
state_reason=state_reason)
|
||||
self.module_builds_trace.append(mbt)
|
||||
|
||||
log.debug("%r, state %r->%r" % (self, old_state, self.state))
|
||||
log.info("%r, state %r->%r" % (self, old_state, self.state))
|
||||
if old_state != self.state:
|
||||
module_build_service.messaging.publish(
|
||||
service='mbs',
|
||||
|
||||
@@ -97,6 +97,9 @@ def _finalize(config, session, msg, state):
|
||||
]
|
||||
|
||||
# tag && add to srpm-build group if neccessary
|
||||
log.info("Batch done. Tagging %i components." % len(
|
||||
built_components_in_batch))
|
||||
log.debug("%r" % built_components_in_batch)
|
||||
install = bool(component_build.package == 'module-build-macros')
|
||||
builder.buildroot_add_artifacts(built_components_in_batch, install=install)
|
||||
builder.tag_artifacts(built_components_in_batch)
|
||||
|
||||
Reference in New Issue
Block a user