From c977bbf62f33d217d152e675c87e4fe0bd692427 Mon Sep 17 00:00:00 2001 From: mck Date: Sun, 24 May 2026 15:21:39 +0200 Subject: [PATCH 1/5] Preload dependencies in build docker images to reduce downloading at build/test/ci runtime Additional fixes - upgrade ubuntu-test.docker to ubuntu 22.04 (and some small fixes brought forward from CASSANDRA-20997) - changes gke's small node pool from n2-highcpu-8 to e2-highcpu-8 (gke's own pod resources reqs increased) - limit one agent pod per node (when jenkins is deployed in k8s using our helm) - pass maven.repo.local sys prop, if set, into accord's gradle build - check and fail on maven dependencies checksums when downloading - when on-the-fly building docker images add `--load` (podman compatbility) - newer python versions can use venv instead of virtualenv patch by Mick Semb Wever; reviewed by xxx for CASSANDRA-21403 --- .build/build-accord.xml | 1 + .build/build-resolver.xml | 4 +- .build/docker/_create_user.sh | 6 ++ .build/docker/_docker_run.sh | 4 +- .build/docker/_prepopulate_maven_deps.sh | 87 ++++++++++++++++++++++++ .build/docker/almalinux-build.docker | 11 ++- .build/docker/debian-build.docker | 8 ++- .build/docker/run-tests.sh | 6 +- .build/docker/ubuntu-test.docker | 39 ++++++++--- .jenkins/k8s/README.md | 8 ++- .jenkins/k8s/jenkins-deployment.yaml | 39 +++++++++++ 11 files changed, 194 insertions(+), 19 deletions(-) create mode 100755 .build/docker/_prepopulate_maven_deps.sh diff --git a/.build/build-accord.xml b/.build/build-accord.xml index 420eb308d4c5..e5ee707704c6 100644 --- a/.build/build-accord.xml +++ b/.build/build-accord.xml @@ -40,6 +40,7 @@ + diff --git a/.build/build-resolver.xml b/.build/build-resolver.xml index 29031b33a115..7e88a4ee7334 100644 --- a/.build/build-resolver.xml +++ b/.build/build-resolver.xml @@ -56,8 +56,8 @@ - - + +