Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/dwarves

.nornir/status-board-for-idiots.md

status board pane — for idiots

Class: for-idiots · the zero-knowledge walkthrough. What it IS: status-board-design.md · how to use it: status-board-guide.md.

What is the Status board?

Imagine a wall of little coloured lights, one per build pipeline: green if the last build passed, red if it failed, amber if it is still running, grey if it never ran. That wall is the Status board — a tab in the dwarves GUI window.

Why does it exist?

We already taught dwarves to draw a status badge (dwarves badge build). The Status board just shows a whole bunch of them at once, on screen, so you can see the health of every pipeline at a glance.

How it works, simply

  1. The board has a little list of recent builds (a demo fixture).
  2. For each pipeline it asks the same helper the dwarves badge command uses: "what did this pipeline's newest build do?"
  3. It paints a coloured chip with that answer.

Because it asks the same helper, the colours on screen always match what the command prints — there is only one place that decides "green means passing."

Clicking a row

Click a pipeline and the full badge picture (an SVG — a tiny self-contained image) opens up as text underneath. Copy that into a web page and you get the exact same badge you saw on the board. Click again to close it.

The interesting rows