fix line-length lint in ops.md
This commit is contained in:
+5
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user