Commit 12394da
feat(build): just all / just verify-images / just publish meta-targets
Closes the manifesto requirement that the build pipeline produce ALL
MiOS deployment formats from one command:
"starts FULL build pipeline including all the different image types
and formats for ALL MiOS deployment types -- Hyper-V, WSL2/g, QEMU,
OCI images, Live-CD/USB, USB installer, RAW, etc"
Three new recipes wire what was already there into a single chain:
1. `just all` — end-to-end build of every deployable artifact:
OCI image -> localhost/mios:latest
RAW disk -> output/disk.raw
ISO (Live-CD / USB installer)-> output/install.iso
QCOW2 (QEMU) -> output/qcow2/disk.qcow2
VHD/VHDX (Hyper-V) -> output/vhd*/disk.{vhd,vhdx}
WSL2 tarball (WSL2/g) -> output/wsl2/disk.wsl2
Build order is deliberate: OCI must exist before any BIB recipe runs.
Prerequisites: MIOS_USER_PASSWORD_HASH and MIOS_SSH_PUBKEY env vars
for the qcow2 + vhdx recipes that bake the operator's identity.
Run-time: ~25-40 min on the dev host depending on cache state.
2. `just verify-images` — magic-byte + size sanity check on every
artifact in output/. Fast (no actual boot). Catches truncated /
missing artifacts BEFORE the operator wastes time trying to import
a half-baked vhdx into Hyper-V. Exits non-zero if any check fails.
3. `just publish` — pushes the OCI image to ghcr.io and prints
guidance for Forgejo Releases / GitHub Releases upload of the
disk images. Composes the previous two so a single `just publish`
call gates on `verify-images` passing first.
Existing single-format recipes (just raw / iso / qcow2 / vhdx / wsl2)
are unchanged. The meta-target just chains them.
This closes manifesto bite B from the post-C:\/M:\-saga session
plan. Combined with the overlay-builder.sh work in 9b643dc, MiOS-DEV
now hosts the same Quadlets a deployed MiOS host runs AND can drive
a single-command produces-every-format build pipeline.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 9b643dc commit 12394da
1 file changed
Lines changed: 73 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
225 | 298 | | |
226 | 299 | | |
227 | 300 | | |
| |||
0 commit comments