@@ -70,8 +70,10 @@ update_build_cache() {
7070 # Build templates
7171 $( dry_run) bash -x ./bin/build_bootc_images.sh -g ./image-blueprints-bootc/templates
7272 # Build the bootc base layer and brew RPMs to be cached
73- $( dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/layer1-base
74- $( dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/layer4-release
73+ # $(dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/layer1-base
74+ # $(dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/layer4-release
75+ $( dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/el9/layer1-base,./image-blueprints-bootc/el10/layer1-base
76+ $( dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/el9/layer4-release,./image-blueprints-bootc/el10/layer4-release
7577
7678 # Prepare for the cache upload by stopping composer services and cleaning
7779 # temporary artifacts
@@ -132,31 +134,35 @@ run_bootc_image_build() {
132134
133135 if [[ " ${os} " == " el9" || " ${os} " == " el10" ]]; then
134136
135- $( dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/layer1-base
137+ $( dry_run) bash -x ./bin/build_bootc_images.sh -l " ./image-blueprints-bootc/${os} / layer1-base"
136138 $( dry_run) bash -x ./bin/build_bootc_images.sh -l " ./image-blueprints-bootc/${os} /layer2-presubmit"
137139
138140 if [[ " ${os} " == " el10" ]]; then
139141 # Build el9 images for upgrade tests
142+ $( dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/el9/layer1-base
140143 $( dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/el9/layer2-presubmit
141144 fi
142145
143146 if [[ " ${CI_JOB_NAME} " =~ .* periodic.* ]]; then
144147 $( dry_run) bash -x ./bin/build_bootc_images.sh -l " ./image-blueprints-bootc/${os} /layer3-periodic"
145148 fi
149+ if [[ " ${CI_JOB_NAME} " =~ .* release.* ]]; then
150+ $( dry_run) bash -x ./bin/build_bootc_images.sh -l " ./image-blueprints-bootc/${os} /layer4-release"
151+ fi
146152 fi
147153
148154 # Build upstream images
149155 if [[ " ${CI_JOB_NAME} " =~ .* upstream.* ]]; then
150156 $( dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/upstream
151157 fi
152158 else
153- $( dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/layer1-base
154159 # Full build for all OS versions
155160 for os_ver in el9 el10; do
161+ $( dry_run) bash -x ./bin/build_bootc_images.sh -l " ./image-blueprints-bootc/${os_ver} /layer1-base"
156162 $( dry_run) bash -x ./bin/build_bootc_images.sh -l " ./image-blueprints-bootc/${os_ver} /layer2-presubmit"
157163 $( dry_run) bash -x ./bin/build_bootc_images.sh -l " ./image-blueprints-bootc/${os_ver} /layer3-periodic"
164+ $( dry_run) bash -x ./bin/build_bootc_images.sh -l " ./image-blueprints-bootc/${os_ver} /layer4-release"
158165 done
159- $( dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/layer4-release
160166 $( dry_run) bash -x ./bin/build_bootc_images.sh -l ./image-blueprints-bootc/upstream
161167 fi
162168}
0 commit comments