This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new bd865af  Don't blow away docker buildx workers in 
pull-all-couchdbdev-docker
bd865af is described below

commit bd865aff367024c10e43b1e727f35e38955845e7
Author: Nick Vatamaniuc <[email protected]>
AuthorDate: Sun Mar 1 10:52:23 2026 -0500

    Don't blow away docker buildx workers in pull-all-couchdbdev-docker
    
    The pull-all-couchdbdev-docker job cleans up old docker images and
    re-pulls the current set to make sure they are cached for the CI
    runs. Previously it also blew away docker buildx' own helper image. We
    use that to speed up multiarch CI image and packages builds so avoid
    blowing it away.
---
 pull-all-couchdbdev-docker | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/pull-all-couchdbdev-docker b/pull-all-couchdbdev-docker
index d2bc2a9..1cb7b78 100644
--- a/pull-all-couchdbdev-docker
+++ b/pull-all-couchdbdev-docker
@@ -3,7 +3,8 @@
 DOCKER_ORG="apache"
 
 # These are the images that are currently being used, so don't `docker rmi` 
them on cleanup.
-KEEP_IMAGES=(
+
+PULL_IMAGES=(
 couchdbci-debian:bookworm-erlang:28.3.2
 couchdbci-debian:bookworm-erlang:27.3.4.8
 couchdbci-debian:bookworm-erlang-26.2.5.17
@@ -16,7 +17,16 @@ couchdbci-centos:9-erlang-26.2.5.17
 couchdbci-centos:8-erlang-26.2.5.17
 )
 
-for image in ${KEEP_IMAGES[*]}
+# The buildkit one is from docker buildx so that the vm can be used as
+# architecture-specific builders. We don't pull this one it's added as
+# part of multiarch --bootstrap via ssh
+
+KEEP_IMAGES=(
+  "${PULL_IMAGES[@]}"
+  buildkit:buildx-stable-1
+)
+
+for image in ${PULL_IMAGES[*]}
 do
     echo docker pull ${DOCKER_ORG}/${image}
     docker pull ${DOCKER_ORG}/${image}

Reply via email to