monitor/log: show build root and runner
In the `LogMonitor`, print the build root and its runner for each pipelie. That could help identifying issues with runners.
This commit is contained in:
parent
9480009189
commit
1c81d1e966
1 changed files with 7 additions and 0 deletions
|
|
@ -102,6 +102,13 @@ class LogMonitor(BaseMonitor):
|
|||
self.out.write(f"Pipeline {pipeline.name}: {pipeline.id}")
|
||||
self.out.term(vt.reset)
|
||||
self.out.write("\n")
|
||||
self.out.write("Build\n root: ")
|
||||
if pipeline.build:
|
||||
self.out.write(pipeline.build)
|
||||
else:
|
||||
self.out.write("<host>")
|
||||
self.out.write(f"\n runner: {pipeline.runner.name} ({pipeline.runner.exec})")
|
||||
self.out.write("\n")
|
||||
|
||||
def stage(self, stage):
|
||||
self.module(stage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue