The large bed starts the hand-started builder where a build is asked for: it does not outlive the broker's first reconcile
This commit is contained in:
@@ -1156,6 +1156,10 @@ test("a new commit reaches a machine that is already running the old one", {
|
|||||||
// novox/hq ADR 0010 names the real risk of replacing a pipeline with a comparison: losing the
|
// novox/hq ADR 0010 names the real risk of replacing a pipeline with a comparison: losing the
|
||||||
// question "did my change go out?". This is that question, end to end — a commit, a build, a
|
// question "did my change go out?". This is that question, end to end — a commit, a build, a
|
||||||
// catalogue, and a machine that ends up running what the source says.
|
// catalogue, and a machine that ends up running what the source says.
|
||||||
|
// The hand-started builder does not outlive a broker restart, and the foundation's broker is
|
||||||
|
// recreated when the first push reconciles it: a builder is (re)started here, where a build is
|
||||||
|
// asked for. The mesh's own builder is a module with a restart policy and needs none of this.
|
||||||
|
await startBuilder();
|
||||||
const repo = "/var/lib/mesh/builder/repositories/delivered";
|
const repo = "/var/lib/mesh/builder/repositories/delivered";
|
||||||
const write = async (what: string) =>
|
const write = async (what: string) =>
|
||||||
await must("anchor", `mkdir -p ${repo} && printf %s '{"module":"delivered","version":"1",` +
|
await must("anchor", `mkdir -p ${repo} && printf %s '{"module":"delivered","version":"1",` +
|
||||||
|
|||||||
Reference in New Issue
Block a user