fix line-length lint in ops.md

This commit is contained in:
Oleks
2026-06-06 12:51:47 +03:00
parent 2f03a04cb6
commit 8daf73b8c3
+5 -2
View File
@@ -36,11 +36,13 @@ is the #1 failure mode:
- `nbapi summary` → counts, billable CPU-seconds, NAR output size. - `nbapi summary` → counts, billable CPU-seconds, NAR output size.
- `nbapi usage --from YYYY-MM-DD --to YYYY-MM-DD` → billable CPU over a range. - `nbapi usage --from YYYY-MM-DD --to YYYY-MM-DD` → billable CPU over a range.
- `nbapi builds --limit N` → recent builds (id, status, drv path, timing). - `nbapi builds --limit N` → recent builds (id, status, drv path, timing).
- `nbapi build <id>` → single build detail including `status_message` (the failure reason). - `nbapi build <id>` → single build detail including `status_message`
(the failure reason).
- **`nbshell '<cmd>' ['<cmd>' …]`** — run admin-shell commands in one session, - **`nbshell '<cmd>' ['<cmd>' …]`** — run admin-shell commands in one session,
output cleaned. Useful commands: `usage`, `settings <SETTING> --show`, output cleaned. Useful commands: `usage`, `settings <SETTING> --show`,
`settings substituters --add <url>`, `ssh-keys`, `tokens`, `builds`, `settings substituters --add <url>`, `ssh-keys`, `tokens`, `builds`,
`builds log <id>` (full build output). (`exit` is NOT valid — the session ends on its own.) `builds log <id>` (full build output — the only way to see remote logs).
(`exit` is NOT valid — the session ends on its own.)
- **`nb-substituters <list|add-cache|add-key|remove|remove-key|reset>`** — a - **`nb-substituters <list|add-cache|add-key|remove|remove-key|reset>`** — a
guarded front end for cache settings that catches the path-style-URL mistake guarded front end for cache settings that catches the path-style-URL mistake
(see below) before it reaches the shell. (see below) before it reaches the shell.
@@ -83,6 +85,7 @@ The full log lives on nixbuild's side. To retrieve it:
output, failing test, or missing dependency. output, failing test, or missing dependency.
Example flow: Example flow:
```bash ```bash
nbapi builds --limit 5 # find the failed build id nbapi builds --limit 5 # find the failed build id
nbapi build <id> # check status_message first nbapi build <id> # check status_message first