monitor: log start/stop of stages and pipelines too
Generate log messages with origin "org.osbuild.main" when pipelines/stages start and finish. This way a higher level frontend can display high level progress coming from this origin and filter out e.g. stages based log messages (that are usually quite technical as they are just stdout/stderr from the stages).
This commit is contained in:
parent
fd61bcdcab
commit
83e66839bc
3 changed files with 72 additions and 19 deletions
|
|
@ -294,7 +294,7 @@ class Pipeline:
|
|||
return stage
|
||||
|
||||
def build_stages(self, object_store, monitor, libdir, debug_break="", stage_timeout=None):
|
||||
results = {"success": True}
|
||||
results = {"success": True, "name": self.name}
|
||||
|
||||
# If there are no stages, just return here
|
||||
if not self.stages:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue