generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump apko, fix stuff, use tarfs (#151)
This pulls in the latest apko which has a bunch of breaking API changes. Notably, digests are going to change because we fixed a bug with checksums in our installed db file. Also, go-apk now caches much more aggressively, so we expect to see a large reduction in CPU and latency but an increase in how much disk the cache consumes. This increased disk usage is somewhat offset by the fact that we no longer unpack entire APKs to disk for every build. Instead, we store a single copy of the uncompressed APK in the cache and read its contents directly when constructing the image layer. I suspect on ephemeral disks (our builds) the net result is ~cancelled out, given that we no longer use as much temporary space. For really large builds, the cache will probably take up a lot more space than the tempdirs did previously. We may have to come up with an eviction strategy. Signed-off-by: Jon Johnson <jon.johnson@chainguard.dev>
- Loading branch information
1 parent
39eb08c
commit c48eb2f
Showing
7 changed files
with
225 additions
and
255 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.