Skip to content

Commit 0f03440

Browse files
committed
Reorganize image blueprints
1 parent 5b239a4 commit 0f03440

28 files changed

Lines changed: 11 additions & 5 deletions

test/bin/ci_phase_iso_build.sh

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}

test/image-blueprints-bootc/layer1-base/group1/rhel102-test-agent.containerfile renamed to test/image-blueprints-bootc/el10/layer1-base/group1/rhel102-test-agent.containerfile

File renamed without changes.

test/image-blueprints-bootc/layer1-base/group2/rhel102-bootc-crel-isolated.containerfile renamed to test/image-blueprints-bootc/el10/layer1-base/group2/rhel102-bootc-crel-isolated.containerfile

File renamed without changes.

test/image-blueprints-bootc/layer1-base/group2/rhel102-bootc-crel-optionals.containerfile renamed to test/image-blueprints-bootc/el10/layer1-base/group2/rhel102-bootc-crel-optionals.containerfile

File renamed without changes.

test/image-blueprints-bootc/layer1-base/group2/rhel102-bootc-crel.containerfile renamed to test/image-blueprints-bootc/el10/layer1-base/group2/rhel102-bootc-crel.containerfile

File renamed without changes.

test/image-blueprints-bootc/layer1-base/group2/rhel102-bootc.image-bootc renamed to test/image-blueprints-bootc/el10/layer1-base/group2/rhel102-bootc.image-bootc

File renamed without changes.

test/image-blueprints-bootc/layer4-release/group1/rhel102-bootc-brew-lrel-optional.containerfile renamed to test/image-blueprints-bootc/el10/layer4-release/group1/rhel102-bootc-brew-lrel-optional.containerfile

File renamed without changes.

test/image-blueprints-bootc/layer4-release/group1/rhel102-bootc-brew-nightly-with-optional.containerfile renamed to test/image-blueprints-bootc/el10/layer4-release/group1/rhel102-bootc-brew-nightly-with-optional.containerfile

File renamed without changes.

test/image-blueprints-bootc/layer4-release/group1/rhel102-bootc-brew.containerfile renamed to test/image-blueprints-bootc/el10/layer4-release/group1/rhel102-bootc-brew.containerfile

File renamed without changes.

test/image-blueprints-bootc/layer4-release/group2/rhel102-bootc-brew-lrel-fips.containerfile renamed to test/image-blueprints-bootc/el10/layer4-release/group2/rhel102-bootc-brew-lrel-fips.containerfile

File renamed without changes.

0 commit comments

Comments
 (0)