Skip to content
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

Use S3 and GitHub Actions for yocto build cache #443

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

klutchell
Copy link
Contributor

@klutchell klutchell commented Nov 1, 2024

This change makes the legacy NFS cache mount
optional, and will not fail the build if unset
or unreachable.

Instead, if the NFS is available it will be used
as a read-only mirror for shared downloads,
but will not be updated with new files.

This allows the per-device sstate to be ephemeral
and best effort, with automatic size and expiry limits
enforced by GitHub and scoped to the repository and branch.

See: https://balena.fibery.io/Work/Project/Secure-solutions-for-GHA-yocto-shared-cache-692
Supersedes: #351

@klutchell klutchell changed the title Kyle/dl mirror Use official aws cli binaries and commands Nov 1, 2024
This allows the per-device sstate to be ephemeral
and best effort, with automatic size and expiry limits
enforced by GitHub and scoped to the repository and branch.

Change-type: patch
Signed-off-by: Kyle Harding <[email protected]>
Change-type: minor
Signed-off-by: Kyle Harding <[email protected]>
@klutchell klutchell force-pushed the kyle/dl-mirror branch 2 times, most recently from bcc9da6 to fd934f1 Compare November 6, 2024 17:28
@flowzone-app flowzone-app bot enabled auto-merge November 6, 2024 17:33
@klutchell
Copy link
Contributor Author

PR for testing on a device repo: balena-os/balena-raspberrypi#1186

@klutchell klutchell marked this pull request as draft November 6, 2024 21:14
auto-merge was automatically disabled November 6, 2024 21:14

Pull request was converted to draft

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