Skip to content

Commit f4957df

Browse files
committed
mios.toml [messages.steps]: + 5 smoke-test label templates
Five new template keys for the post-Phase-3 dev VM health-check labels emitted by build-mios.ps1's Test-MiosDevDistroHealthy: smoke_header_template header for the whole smoke pass smoke_responsive_template echo-test (1/4) smoke_systemd_template systemctl is-system-running (2/4) smoke_overlay_template /usr/share/mios overlay test (3/4) smoke_podman_api_template podman --version probe (4/4) Templates use {name} / {state} / {version} / {distro} placeholders that build-mios.ps1 substitutes at render time. Operators rebrand the smoke pass via mios.html [messages.steps] without touching any PowerShell. Companion mios-bootstrap commit wires each template into its Log-Ok / Set-Step call site.
1 parent c8b7e8c commit f4957df

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

usr/share/mios/mios.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,15 @@ mios_bootstrap_update = "Updating mios-bootstrap.git shadow (fetch + hard r
317317
mios_bootstrap_overlay = "Overlaying mios-bootstrap files onto M:\\"
318318
entry_scripts_staged = "Entry scripts staged at M:\\MiOS\\bin"
319319
miosdev_init_template = "Initializing MiOS-DEV ({cpus} CPUs / {ram_gb}GB / {disk_gb}GB disk)"
320+
# Smoke-test labels (post-Phase-3 dev VM health check). Operator
321+
# sees these whenever Test-MiosDevDistroHealthy runs. All 4 are
322+
# templates with {name} = the resolved distro (podman-MiOS-DEV or
323+
# MiOS-DEV depending on whether Rename-PodmanDevDistro fired).
324+
smoke_header_template = "Smoke-testing {distro} before rename..."
325+
smoke_responsive_template = "smoke 1/4: {name} is responsive"
326+
smoke_systemd_template = "smoke 2/4: systemd state '{state}' in {name}"
327+
smoke_overlay_template = "smoke 3/4: /usr/share/mios overlay present in {name}"
328+
smoke_podman_api_template = "smoke 4/4: podman API server v{version}"
320329

321330
# ----------------------------------------------------------------------------
322331
# [messages.install_complete] -- end-of-bootstrap operator-facing

0 commit comments

Comments
 (0)