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

skip the cache mount for kubernetes runner builds #566

Merged
merged 2 commits into from
Jul 24, 2023

Conversation

joshrwolf
Copy link
Contributor

@joshrwolf joshrwolf commented Jul 22, 2023

the melange cache mounts are primarily designed for bind-mounted runners, which k8s is not. in remote execution environments, it's usually just faster to redownload things than to push/pull them in.

using the cache mount for k8s runner ends up just creating more things that need to be transferred over the network via kontext -> OCI registry, and can lead to pretty silly processing if you're not careful.

this also prevents @mattmoor from destroying his poor computer/network

Signed-off-by: Josh Wolf <josh@wolfs.io>
@joshrwolf joshrwolf marked this pull request as ready for review July 22, 2023 19:00
@joshrwolf joshrwolf requested a review from a team as a code owner July 22, 2023 19:00
@joshrwolf joshrwolf requested review from jonjohnsonjr and removed request for a team July 22, 2023 19:00
@joshrwolf joshrwolf enabled auto-merge July 22, 2023 19:01
Signed-off-by: Josh Wolf <josh@wolfs.io>
@joshrwolf joshrwolf force-pushed the k8s-runner-cache-mount branch from 9cad4cb to aaf439c Compare July 22, 2023 20:14
@joshrwolf joshrwolf merged commit 9f69372 into chainguard-dev:main Jul 24, 2023
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