Rebuild the object store's provisioner image too

It gained a Makefile target today; a target the rebuild does not run is
the stale image this file was just fixed for.
This commit is contained in:
2026-09-01 03:12:55 +02:00
parent eb02b8fe6b
commit facd100baf
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ export function planned(env: NodeJS.ProcessEnv = process.env): Build[] {
builds.push({ builds.push({
what: "images", what: "images",
in: control, in: control,
argv: ["make", "image", "builder-image", "provisioner-image", "proxy-image"], argv: ["make", "image", "builder-image", "provisioner-image", "objectstore-image", "proxy-image"],
}); });
const builder = env["MESH_LAB_BUILDER"]; const builder = env["MESH_LAB_BUILDER"];
if (builder) { if (builder) {
+3 -1
View File
@@ -31,7 +31,9 @@ test("every image the lab runs is rebuilt, not only the control plane's", () =>
const builds = planned({ MESH_LAB_MODULES: "/repo/control/examples/modules" }); const builds = planned({ MESH_LAB_MODULES: "/repo/control/examples/modules" });
const images = builds.find((b) => b.what === "images"); const images = builds.find((b) => b.what === "images");
assert.ok(images, "no image build at all"); assert.ok(images, "no image build at all");
for (const target of ["image", "builder-image", "provisioner-image", "proxy-image"]) { for (const target of [
"image", "builder-image", "provisioner-image", "objectstore-image", "proxy-image",
]) {
assert.ok(images.argv.includes(target), `${target} is never built, so the lab runs a stale one`); assert.ok(images.argv.includes(target), `${target} is never built, so the lab runs a stale one`);
} }
}); });