Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix/vm-tests/agent-ephemeral-rootfs.nix
Author SHA1 Message Date
atlas
fd2861c097 reset the failed container unit before stopping it in the link-refusal vm subtest 2026-10-30 08:52:50 +01:00
atlas
c9b5705ad8 share one hive-priv request helper across the vm tests 2026-10-29 08:51:31 +01:00
atlas
ce14c9b001 wait for hive-priv's reply to a daemon-reload in the link-refusal subtest 2026-10-29 08:27:29 +01:00
atlas
74f463c40e move the c0re host options to deploy.hive-controller 2026-10-29 01:08:41 +01:00
atlas
24afc89ab3 run the root check warn-only on hyperhive's own containers, per unit, not on the container@ template 2026-10-28 23:50:58 +01:00
atlas
c191975aab check every container's root before its start, through the container@ template 2026-10-28 23:50:58 +01:00
atlas
86e80250bb remove the partial salvage dir when a salvage fails
- a failure between creating the dir and the rename removes that dir only
- give the ephemeral-rootfs vm test a 4 GiB disk so the space check passes
2026-10-28 23:01:04 +01:00
atlas
bbc2a83771 print the vm test's priv response and journal only on failure 2026-10-28 22:04:09 +01:00
atlas
2b4fd52b0a make the vm test's priv request wait for the salvage reply 2026-10-28 22:04:09 +01:00
atlas
b4ce4e0d90 put hello and tree in the agent-ephemeral-rootfs vm closure 2026-10-28 22:04:09 +01:00
atlas
6708ef804f root the build the pre-start check names 2026-10-28 21:59:43 +01:00
atlas
a44a7256a7 check the container root before each start 2026-10-28 21:59:43 +01:00
atlas
81439fa710 run agent containers on an ephemeral root, salvaging the old one first
hive-priv copies a stopped container's root to the agent's work dir and
renames it aside before passing nspawn --ephemeral; the agent's nix state
moves to the persistent profiles bind. Adds the agent-ephemeral-rootfs vm
test and a module-eval case for the nix state redirect.
2026-10-28 20:00:12 +01:00