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 go-apk.FullFS for retrieving builder workspaces #548

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

joshrwolf
Copy link
Contributor

@joshrwolf joshrwolf commented Jul 14, 2023

splitting this out of #545 because it changes the signature of RetrieveWorkspace.

This primarily fixes the kubernetes runner not fetching the full contents of the post-build workspace, which resulted in invalid and mismatched apk's vs the other local runners.

Since this is now really just doing an untar using apkofs.FullFS, I think there's merit to moving this out of melange and into go-apk (maybe tarball.Untar()? Say the word and I'll be happy to move it there

Signed-off-by: Josh Wolf <josh@wolfs.io>
@joshrwolf joshrwolf requested a review from a team as a code owner July 14, 2023 14:48
@joshrwolf joshrwolf requested review from luhring and removed request for a team July 14, 2023 14:48
@joshrwolf joshrwolf merged commit a34bb2a into chainguard-dev:main Jul 17, 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