ci: install zstd in the build image - #16336
Conversation
|
Building new version of mimir-build-image. After image is built and pushed to the registry, a new commit will automatically be added to this PR with new image version |
64782de to
c1418bb
Compare
|
Building new version of mimir-build-image. After image is built and pushed to the registry, a new commit will automatically be added to this PR with new image version |
|
Not building new version of mimir-build-image. This PR modifies the build image or the build image build workflow, but the image |
actions/cache only uses zstd if a zstd binary is on PATH, and it runs inside the job container, so every job that runs in this image was falling back to gzip while jobs on the bare runner used zstd.
ee18077 to
b7180cb
Compare
|
Building new version of mimir-build-image. After image is built and pushed to the registry, a new commit will automatically be added to this PR with new image version |
|
Not building new version of mimir-build-image. This PR modifies the build image or the build image build workflow, but the image |
what
installs
zstdin the build image.why
actions/cacheonly uses zstd if a zstd binary is on PATH, and it runs inside the job container. the build image never had one, so every job running in it fell back to gzip which is slower and leads to bigger artifacts:that 30s of gunzip is on the critical path for many jobs, and the warmup jobs on main pay it again on the compress side.
notes