ci(lima): automated end-to-end installer and boot verification via Lima VM - #104
Open
kylerankin wants to merge 1 commit into
Open
ci(lima): automated end-to-end installer and boot verification via Lima VM#104kylerankin wants to merge 1 commit into
kylerankin wants to merge 1 commit into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 anested: enabledVM, and runs the verification script there. Read-only token(it checks out and executes PR-controlled code).
.github/scripts/lima-e2e-install-boot.sh—just validate+just export-installer, boots the installer unattended (systemd-sysinstallauto-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 nestedvirtualization so
/dev/kvmis 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