build: add HV=k package build to PR workflow#5702
Merged
eriknordmark merged 1 commit intolf-edge:masterfrom Mar 25, 2026
Merged
build: add HV=k package build to PR workflow#5702eriknordmark merged 1 commit intolf-edge:masterfrom
eriknordmark merged 1 commit intolf-edge:masterfrom
Conversation
When building EVE with HV=k, the Makefile includes additional packages (kube, external-boot-image) and builds pillar with build-k.yml instead of build.yml. Without a separate package build step for HV=k, the eve job fails because these packages are missing from the linuxkit cache. Add an amd64/generic/k entry to the packages matrix so that k-specific packages are built and cached separately. Update all cache keys to include the hv dimension (using 'default' for non-k builds and 'k' for the kubernetes variant). Signed-off-by: Paul Hendry <phendry@zededa.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Paul Gaiduk <paulg@zededa.com>
Contributor
Author
|
Since there is no change to the actual source code the build jobs don't run. So I started a test CI job here https://github.com/lf-edge/eve/actions/runs/23557580309/job/68588524852?pr=5693. |
This was referenced Mar 31, 2026
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.
Description
When building EVE with
HV=k, the Makefile includes additional packages(
kube,external-boot-image) and buildspillarwithbuild-k.ymlinsteadof
build.yml. Without a separate package build step forHV=k, the eve jobfails because these packages are missing from the linuxkit cache.
This PR adds an
amd64/generic/kentry to the packages matrix so thatk-specific packages are built and cached separately, and updates all cache keys
to include the
hvdimension (defaultfor non-k builds,kfor thekubernetes variant).
How to test and validate this PR
packagesjob matrix now includes anamd64/generic/kentry thatbuilds with
HV=kevejob withHV=krestores the correct cache with-ksuffix-defaultsuffix)eveHV=kjob succeedsChangelog notes
No user-facing changes. This is a CI-only fix for the PR build workflow.
PR Backports
Checklist
I've provided a proper description
I've added the proper documentation
I've tested my PR on amd64 device
I've tested my PR on arm64 device
I've written the test verification instructions
I've set the proper labels to this PR
I've checked the boxes above, or I've provided a good reason why I didn't
check them.
CI-only change — no device testing or additional documentation needed.