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.
Support immutable hosts: install under /opt/unbounded and Ignition provisioning #815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Support immutable hosts: install under /opt/unbounded and Ignition provisioning #815
Changes from all commits
a6194c974ec9f89d64c92b6a5156a13ec3637d49c960d715e42d90af10c4153374309a47466727d10fe34200219ec7130358a23f09f0eb114027d4c1ff44ec15a36064693ee1ca963c9e5e71955f40e81cb929f3eb858d73b5671a56a543eee9126cc04fa367bc0382f6f2fb800e40d2331a73f1c17c1e0d6ab1f8343f08a296d7ab7a73af08ef54262918ff2c563c3f8e1c21c52aac3e87af0535a416a12f0206d01744cFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The image is never saved to the cache.
actions/cachesaves in a post step, and post steps run after every main step, including theif: always()Cleanup step.e2e.py cleanuprunsshutil.rmtree(VM_DIR)(e2e.py:5621), so.vm-e2e/acl-<build>.qcow2is already gone when the save runs, and every run downloads the image again. This pinned commit also declarespost-if: success(), so a failed job never saves either.Suggested fix: use
actions/cache/restorehere, and add an explicitactions/cache/savestep before Cleanup (if: always() && steps.<id>.outputs.cache-hit != 'true', and only if the file exists). Alternatively, keep base images outsideVM_DIR. Either way, do this only once the reuse path verifies the digest (see the comment onacquire_host_image).Pins:
640a1c25...is not thev4.2.3tag. That tag is5a3ec84e...; this commit is a later README-only merge.actions/cache@55cc8345... # v6.1.0andazure/login@a641126d... # v3.1.0.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in f8e1c21: split into
actions/cache/restoreandactions/cache/saveon the v6.1.0 pin, with the save right after the control-plane step that downloads and verifies the image, andazure/loginmoved to v3.1.0. The reuse path now verifies the digest (see theacquire_host_imagethread). The CI run on 12f0206 savedacl-image-2026091817.You're right that
640a1c25was mislabeled; its code matches v4.2.3 and only README.md differs.Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.