Commit Graph
16 Commits
Author SHA1 Message Date
Willem Vanhulle ce72695e29 ci: move CI scripting into Nushell scripts with separate dependency steps
Replace the shell wrappers build-and-push-to-cachix, check-conventional-commits
and the release-plz apps with Nushell scripts in ci/, and move the git commands
out of the workflow YAML, so that every workflow command is a plain nix call.

Build the workspace dependencies in their own step, skipped when already in
Cachix. Later steps import the exported paths and also run after an earlier
failure. A separate step alone holds the Cachix token and uploads on main.
Pull requests run the same steps without the upload.

Wrap the recording tasks with makeBinaryWrapper instead of shell, and run the
CI task tests in a step of their own.
2026-11-04 20:02:26 +01:00
Willem Vanhulle daaad6771f refactor: keep recordings on an orphan branch 2026-10-30 19:59:46 +01:00
Willem Vanhulle d4bd3b4b76 refactor: read the release environment from the crate build and generate the sample machine apps 2026-10-30 15:46:26 +01:00
Willem Vanhulle 59f2b12cb8 fix: find libsystemd when release-plz verifies the crate before publishing 2026-10-30 15:31:58 +01:00
Willem Vanhulle c5e2e16b67 feat: record every sample machine's boot as an animated WebP
Each sample machine now has a VM check, including new ones for
text-console and scripted-initrd. While a check runs, a recorder takes a
frame every half second through a second QEMU monitor socket, and
record-screencasts encodes the frames into recordings/<machine>.webp with
img2webp, dropping the BIOS frames at other resolutions. The guide shows
each machine's recording in the section it illustrates, replacing the PNG
screenshots. The checks are now named vm-<machine>.
2026-10-30 14:59:10 +01:00
Willem Vanhulle 7e95cbd8e9 feat: show why units failed, with their last journal lines
Failed jobs keep their kind: units that broke or timed out get a failure
panel entry with the reason systemd reports (exit status, signal, timeout,
start limit, status text) and their last journal lines read through
libsystemd. Units that failed only through a dependency are dimmed and left
out of the panel, and units that crash after starting count as failed.

Restructure the repository around this:
- move the library and binary into bootvine/ and the scripted demos into
  their own unpublished scripted-demos crate, with their VHS tapes
- move the crane builds and NixOS module into nix/
- group each sample VM with its check under vm-tests/, adding text-console,
  scripted-initrd, encrypted-volume and failures machines and a vm-failures
  check
- add docs/guide.md walking through the screen with every recording, keep
  one recording in the README, and re-render all recordings
2026-10-30 14:59:10 +01:00
Willem Vanhulle 9fa6e26d52 ci: release to crates.io and Codeberg through a release-plz pull request 2026-10-25 12:03:40 +01:00
Willem Vanhulle b7e30ec148 ci: add Woodpecker checks, Cachix config and conventional commit hooks 2026-10-21 12:49:34 +02:00
Willem Vanhulle 794ca5a086 refactor: reorganise flake, tests and repo tasks 2026-10-21 12:12:49 +02:00
Willem Vanhulle 4e943f578a fix: add license 2026-10-21 11:27:58 +02:00
Willem Vanhulle 04219bb58e docs: automate gif generation 2026-10-16 11:42:52 +02:00
Willem Vanhulle 10eb2f7b98 feat: support luks 2026-10-11 20:16:16 +02:00
Willem Vanhulle 3fc9e2235c feat: follow shutdowns on the boot console 2026-10-11 20:16:16 +02:00
Willem Vanhulle 2d586f57f7 rename boot-tree to bootvine 2026-10-11 15:54:28 +02:00
Willem Vanhulle 1482d4437a boot-tree: portable unit, dracut and mkinitcpio hooks, self-quieting console, minimal NixOS module 2026-10-11 15:54:28 +02:00
Willem Vanhulle 097caf81a2 boot-tree: live systemd boot dependency tree on a dedicated VT 2026-10-11 15:54:28 +02:00