From b78f654fff6cc5429ee07d9bf7e5978ed2710246 Mon Sep 17 00:00:00 2001 From: mck Date: Sun, 24 May 2026 15:21:39 +0200 Subject: [PATCH] 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) - (.jenkins/k8s) changes gke's small node pool from n2-highcpu-8 to e2-highcpu-8 (gke's own pod resources reqs increased) - (.jenkins/k8s) limit one agent pod per node (when jenkins is deployed in k8s using our helm) - (.jenkins/k8s) add the cassandra-6.0 job - 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 - rename ubuntu2004_test.docker to ubuntu-test.docker (in 5.0) - (Jenkinsfile) fix retries (which was no longer working when agents/nodes died, since CASSANDRA-20833) - (Jenkinsfile) @NonCPS where (now) needed - (Jenkinsfile) fix default value for the branch parameter (after a new helm deploy) - (.build/run-ci) fix missing parameters on jobs also at helm deploy time - (.build/run-ci) .git suffixes on repo urls are optional patch by Mick Semb Wever; reviewed by Dmitry Konstantinov, Stefan Miklosovic for CASSANDRA-21403 --- .build/build-resolver.xml | 4 +- .build/docker/_create_user.sh | 6 ++ .build/docker/_docker_run.sh | 4 +- .build/docker/_prepopulate_maven_deps.sh | 95 +++++++++++++++++++ .build/docker/almalinux-build.docker | 11 ++- .build/docker/bullseye-build.docker | 10 +- .build/docker/run-tests.sh | 8 +- ...ntu2004_test.docker => ubuntu-test.docker} | 41 ++++++-- .build/run-ci | 55 ++++++----- .build/run-python-dtests.sh | 2 +- .jenkins/Jenkinsfile | 64 +++++++++---- .jenkins/k8s/README.md | 8 +- .jenkins/k8s/jenkins-deployment.yaml | 57 +++++++++++ pylib/cassandra-cqlsh-tests.sh | 2 +- 14 files changed, 303 insertions(+), 64 deletions(-) create mode 100755 .build/docker/_prepopulate_maven_deps.sh rename .build/docker/{ubuntu2004_test.docker => ubuntu-test.docker} (79%) diff --git a/.build/build-resolver.xml b/.build/build-resolver.xml index 09263d42aa..83c8e29456 100644 --- a/.build/build-resolver.xml +++ b/.build/build-resolver.xml @@ -56,8 +56,8 @@ - - + +