Skip to content

ci(lima): automated end-to-end installer and boot verification via Lima VM - #104

Open
kylerankin wants to merge 1 commit into
projectbluefin:mainfrom
kylerankin:ci/lima-e2e-installer-boot
Open

ci(lima): automated end-to-end installer and boot verification via Lima VM#104
kylerankin wants to merge 1 commit into
projectbluefin:mainfrom
kylerankin:ci/lima-e2e-installer-boot

Conversation

@kylerankin

@kylerankin kylerankin commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

CI: automated end-to-end installer and boot verification via Lima VM

Closes #101.

Verifies the full unattended chain inside a nested-virt Lima VM on a macOS
runner (the runner has no native KVM, so QEMU can only boot the real images
inside the guest):

Source elements -> Installer Raw Image ->
systemd-sysinstall auto-partitioning & DDI copy (Lima VM) ->
Installed target disk boot (Lima VM) -> multi-user.target / login prompt

Changes

  • .github/workflows/lima-e2e.yml — macOS job, installs Lima + QEMU, starts a
    nested: enabled VM, and runs the verification script there. Read-only token
    (it checks out and executes PR-controlled code).
  • .github/scripts/lima-e2e-install-boot.shjust validate + just export-installer, boots the installer unattended (systemd-sysinstall
    auto-partition + DDI copy, powers off on completion), then boots the installed
    target and asserts it reaches multi-user.target.
  • .github/scripts/bluefin-lima-template.yaml — Lima template enabling nested
    virtualization so /dev/kvm is exposed to the guest.

The job is gated on paths touching the installer/element graph so a broken
install or boot is caught before merge.

— hive: backend=pi model=lemonade/Ornith-1.5-35B-A3B-GGUF-Q6_K

Add a GitHub Actions job that verifies the full installer chain inside a
nested-virt Lima VM on a macOS runner, since the runner has no native KVM:

  Source elements -> Installer Raw Image ->
  systemd-sysinstall auto-partitioning & DDI copy (Lima VM) ->
  Installed target disk boot (Lima VM) -> multi-user.target / login prompt

- .github/workflows/lima-e2e.yml: macOS job that installs Lima + QEMU, starts
  a nested-virt VM, and runs the verification there. Read-only token (PR code).
- .github/scripts/lima-e2e-install-boot.sh: validate + build/export the
  installer, boot it unattended (systemd-sysinstall auto-partition + DDI copy),
  then boot the installed target and verify it reaches multi-user.target.
- .github/scripts/bluefin-lima-template.yaml: Lima template with
  nested: enabled to expose /dev/kvm to the guest.

Signed-off-by: kylerankin <kylerankin@users.noreply.github.com>
Assisted-by: lemonade/Ornith-1.5-35B-A3B-GGUF-Q6_K via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: kylerankin <kylerankin@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci(lima): automated end-to-end installer and boot verification via Lima VM

1 participant