From 20dbd3af9684f90d2b965330f1f7441c757c13dc Mon Sep 17 00:00:00 2001 From: Jonas Scharpf Date: Tue, 14 Jan 2025 10:37:02 +0100 Subject: [PATCH] Always build all build images as defined and required by releases ... as they might get automatically deleted after some time of not being pulled and used CMK-21154 Change-Id: I19a5cba8cae45538e52eeeb0724f6f9ea92283d6 --- buildscripts/scripts/build-build-images.groovy | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/buildscripts/scripts/build-build-images.groovy b/buildscripts/scripts/build-build-images.groovy index 62b4ce219b4..c8c32295c12 100644 --- a/buildscripts/scripts/build-build-images.groovy +++ b/buildscripts/scripts/build-build-images.groovy @@ -24,7 +24,11 @@ def main() { ]); def versioning = load("${checkout_dir}/buildscripts/scripts/utils/versioning.groovy"); - def distros = versioning.configured_or_overridden_distros("enterprise", OVERRIDE_DISTROS); + + // with 2.2.0 becoming the oldest version of checkmk since the phaseout of 2.1.0 + // and thereby no longer building images on daily base, only for release built images might be deleted automatically + // therefore now alway build all images + def distros = versioning.configured_or_overridden_distros("enterprise", OVERRIDE_DISTROS, "release"); def vers_tag = versioning.get_docker_tag(scm, checkout_dir); def safe_branch_name = versioning.safe_branch_name(scm); @@ -108,4 +112,5 @@ def main() { } } } + return this;