From 7b0726dc5b7060a70ab42ca714bc10954bf44423 Mon Sep 17 00:00:00 2001 From: Alejandro Gullon Date: Fri, 20 Mar 2026 15:30:45 +0100 Subject: [PATCH 1/2] add condition to skip build bootc images for release CI jobs pre-commit.check-secrets: ENABLED --- test/bin/ci_phase_iso_build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/bin/ci_phase_iso_build.sh b/test/bin/ci_phase_iso_build.sh index dc8c318001..66dbae47b8 100755 --- a/test/bin/ci_phase_iso_build.sh +++ b/test/bin/ci_phase_iso_build.sh @@ -122,6 +122,11 @@ run_bootc_image_build() { $(dry_run) bash -x ./bin/build_bootc_images.sh -g ./image-blueprints-bootc/templates if [ -v CI_JOB_NAME ] ; then + # Skip all image builds for release testing CI jobs because all the images are fetched from the cache. + if [[ "${CI_JOB_NAME}" =~ .*release(-arm)?(-el(9|10))?$ ]]; then + $(dry_run) bash -x ./bin/build_bootc_images.sh -X + return + fi local -r os="${CI_JOB_NAME##*-}" From d00148e6fdac7c287d31715f0dd1d74b8c428b7b Mon Sep 17 00:00:00 2001 From: Alejandro Gullon Date: Mon, 23 Mar 2026 09:27:40 +0100 Subject: [PATCH 2/2] remove build layer4-release on CI test jobs pre-commit.check-secrets: ENABLED --- test/bin/ci_phase_iso_build.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/bin/ci_phase_iso_build.sh b/test/bin/ci_phase_iso_build.sh index 66dbae47b8..0d064ee8e1 100755 --- a/test/bin/ci_phase_iso_build.sh +++ b/test/bin/ci_phase_iso_build.sh @@ -129,7 +129,7 @@ run_bootc_image_build() { fi local -r os="${CI_JOB_NAME##*-}" - + if [[ "${os}" == "el9" || "${os}" == "el10" ]]; then $(dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/layer1-base @@ -143,11 +143,8 @@ run_bootc_image_build() { if [[ "${CI_JOB_NAME}" =~ .*periodic.* ]]; then $(dry_run) bash -x ./bin/build_bootc_images.sh -l "./image-blueprints-bootc/${os}/layer3-periodic" fi - if [[ "${CI_JOB_NAME}" =~ .*release.* ]]; then - $(dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/layer4-release - fi fi - + # Build upstream images if [[ "${CI_JOB_NAME}" =~ .*upstream.* ]]; then $(dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/upstream