nightly vm test: the builder's meta build finds a prebuilt agent in an offline store
This commit is contained in:
parent
90272ec3c0
commit
4d85ec4c21
1 changed files with 508 additions and 2 deletions
|
|
@ -8,3 +8,7 @@ Pure string rendering, with no IO and no environment reads. The caller passes
|
|||
the hyperhive pin, the agents with their pins, and the values every agent
|
||||
container gets. swarm-controller calls `render_flake`; hive-c0re reads the
|
||||
pins of the flake it renders (`pinned_rev`, `builds_agent_at`).
|
||||
|
||||
`testdata/meta-flake.nix.in` is the render for one archetype agent with a
|
||||
placeholder for the hyperhive pin. A unit test keeps it equal to `render_flake`'s
|
||||
output, and the `swarm-builder-offline` VM test (`nix/vm-tests/`) serves it.
|
||||
|
|
|
|||
Loading…
Reference in a new issue