diff options
Diffstat (limited to 'deckit')
| -rw-r--r-- | deckit/modules/sbbuilder.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/deckit/modules/sbbuilder.py b/deckit/modules/sbbuilder.py index cefe2a3..d9f3cb0 100644 --- a/deckit/modules/sbbuilder.py +++ b/deckit/modules/sbbuilder.py @@ -17,8 +17,9 @@ """sb-builder build state, read-only over ssh. `sbb-remote stats` carries the dashboard: VM load, uptime, memory, disk, package -counts, orphans, slackrepo results and overlay pulls. `jobs` adds the recent -build list. Both run over one ssh connection and arrive as two JSON objects. +counts, orphans, slackrepo results and overlay pulls. `jobs --active` adds the +running job, with its `progress` while it is a build (sbb-remote 0.13.0). Both +run over one ssh connection and arrive as two JSON objects. """ import json @@ -41,7 +42,7 @@ def make(cfg: dict) -> Module: def state(): try: out = run(["ssh", "-o", "BatchMode=yes", "-o", "ConnectTimeout=4", - host, "sbb-remote stats; sbb-remote jobs"]).lstrip() + host, "sbb-remote stats; sbb-remote jobs --active"]).lstrip() except OSError: return {"offline": True} try: |
