CI: configure apt-cacher / mirror for packages (or other solutions) #39572
Labels
area/builder
area/performance
area/testing
kind/enhancement
Enhancements are not bugs or new features but can improve usability or performance.
Projects
Also related: #39512
CI is currently configured to use the
cdn-fastly.deb.debian.org
mirror. This was primarily done to fix flakiness in CI (where the upstream package repositories were down);dockercore/buildbase
x64 base image #20665 Introducedockercore/buildbase
x64 base imageWe should:
Investigate if we still should specify the mirror manually
From the discussion in
Looking at the page at http://httpredir.debian.org,
deb.debian.org
already redirects to a mirrordn-fastly.deb.debian.org
the only mirror it redirects to?Investigate if setting up
apt-cacher
would improve performanceWe should investigate if setting up a apt-cacher / mirror for the packages we use improves speed; see comments on #21512 (comment)
We'll have to profile the
docker build
steps to see how long they take (switching toBuildKit
for the builds might give us more details about the builds through opentracing (moby/buildkit#255), and we could collect metrics about that?)Investigate using BuildKit (distributed) cache
Perhaps instead of optimising at the package-manager level, taking advantage of BuildKit's improved caching might be a better solution. #20665 (Introduce
dockercore/buildbase
x64 base image) turned out to not be a good solution at the time, but things may have changed with BuildKit.The text was updated successfully, but these errors were encountered: