Skip to content

ci: resolve newest lvh image per kernel line in kernel-matrix#24

Closed
jacobpradels wants to merge 2 commits into
masterfrom
fix-kernel-matrix-lvh-tags
Closed

ci: resolve newest lvh image per kernel line in kernel-matrix#24
jacobpradels wants to merge 2 commits into
masterfrom
fix-kernel-matrix-lvh-tags

Conversation

@jacobpradels

Copy link
Copy Markdown

The kernel-matrix used floating <ver>-main tags, which cilium/little-vm -helper@v0.0.30 (the latest release) can't consume: it derives the VM qcow2 filename by stripping a trailing numeric build stamp, so a -main tag yields a name that doesn't match the file lvh unpacks and the run fails with "invalid reference format". Upstream's default branch has the same logic, so there's no fixed action to bump to.

Keep the readable list of kernel lines in the matrix and have each job look up that line's newest date-stamped tag (<ver>-YYYYMMDD.HHMMSS, which the action handles) from the quay registry at run time. This tracks the latest build with no tag to bump and is immune to quay pruning old stamps.

@jacobpradels jacobpradels force-pushed the fix-kernel-matrix-lvh-tags branch 2 times, most recently from db7650f to 4b8d524 Compare June 22, 2026 23:24
julian-goldstein added a commit that referenced this pull request Jun 23, 2026
Cherry-picked from #24. The floating `<ver>-main` tags can't be consumed
by little-vm-helper@v0.0.30: it derives the VM qcow2 filename by stripping
a trailing numeric build stamp, so a `-main` tag yields a name that doesn't
match the file lvh unpacks and the run fails with "invalid reference
format".

Keep the readable list of kernel lines in the matrix and have each job
look up that line's newest date-stamped tag (`<ver>-YYYYMMDD.HHMMSS`, which
the action handles) from the quay registry at run time — tracking the
latest build with no tag to bump, immune to quay pruning old stamps.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
julian-goldstein added a commit that referenced this pull request Jun 23, 2026
Cherry-picked from #24. The floating `<ver>-main` tags can't be consumed
by little-vm-helper@v0.0.30: it derives the VM qcow2 filename by stripping
a trailing numeric build stamp, so a `-main` tag yields a name that doesn't
match the file lvh unpacks and the run fails with "invalid reference
format".

Keep the readable list of kernel lines in the matrix and have each job
look up that line's newest date-stamped tag (`<ver>-YYYYMMDD.HHMMSS`, which
the action handles) from the quay registry at run time — tracking the
latest build with no tag to bump, immune to quay pruning old stamps.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.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.

2 participants