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:
+1
-1
@@ -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) {
|
||||||
|
|||||||
@@ -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`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user