Skip to content

Commit 8f8cb93

Browse files
Merge pull request #1473 from mike-nguyen/c9s_to_94beta
COS-2608: Switch from c9s content to RHEL 9.4 beta content
2 parents 04af9ec + 2644efc commit 8f8cb93

File tree

3 files changed

+15
-28
lines changed

3 files changed

+15
-28
lines changed

ci/prow-entrypoint.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,23 +74,18 @@ prepare_repos() {
7474
rhelver=$(rpm-ostree compose tree --print-only "${manifest}" | jq -r '.["automatic-version-prefix"]' | cut -f2 -d.)
7575

7676
# Temporary workaround until we publish builds in the default path
77-
if [[ "${rhelver}" == "92" ]]; then
78-
prev_build_url="${REDIRECTOR_URL}/${ocpver}-9.2/builds/"
77+
if [[ "${rhelver}" == "94" ]]; then
78+
prev_build_url="${REDIRECTOR_URL}/${ocpver}-9.4/builds/"
7979
# Fetch the previous build
8080
cosa buildfetch --url="${prev_build_url}"
8181
fi
8282

8383
# Fetch the repos corresponding to the release we are building
8484
case "${rhelver}" in
85-
92)
85+
92|94)
8686
curl --fail -L "http://base-${ocpver_mut}-rhel${rhelver}.ocp.svc.cluster.local" -o "src/config/ocp.repo"
8787
cat src/config/ocp.repo
8888
;;
89-
94)
90-
# For now, the 9.4 variant is mostly C9S, but we do still need some packages from 9.2 repos
91-
curl --fail -L "http://base-${ocpver_mut}-rhel92.ocp.svc.cluster.local" -o "src/config/ocp.repo"
92-
cat src/config/ocp.repo
93-
;;
9489
*)
9590
# Assume C9S/SCOS if the version does not match known values for RHEL
9691
# Temporary workaround until we have all packages for SCOS

extensions-rhel-9.4.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ extensions:
99
- x86_64
1010
- aarch64
1111
repos:
12-
- rhel-9.2-server-ose-4.16
12+
- rhel-9.4-server-ose-4.16
1313
packages:
1414
- crun-wasm
1515
# https://github.com/coreos/fedora-coreos-tracker/issues/1504
@@ -52,7 +52,7 @@ extensions:
5252
architectures:
5353
- x86_64
5454
repos:
55-
- nfv
55+
- rhel-9.4-nfv
5656
packages:
5757
- kernel-rt-core
5858
- kernel-rt-kvm
@@ -69,7 +69,7 @@ extensions:
6969
- x86_64
7070
- s390x
7171
repos:
72-
- rhel-9.2-server-ose-4.16
72+
- rhel-9.4-server-ose-4.16
7373
packages:
7474
- kata-containers
7575
# https://issues.redhat.com/browse/COS-2402

manifest-rhel-9.4.yaml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@ include:
1616

1717
# Starting from here, everything should be specific to RHCOS based on RHEL 9.4 content
1818

19-
# CentOS Stream 9 repos + internal repos for now
2019
repos:
21-
- baseos
22-
- appstream
23-
- rhel-9.2-fast-datapath
20+
- rhel-9.4-baseos
21+
- rhel-9.4-appstream
22+
- rhel-9.4-fast-datapath
2423
# Include RHCOS 9 repo for oc, kubelet
25-
- rhel-9.2-server-ose-4.16
24+
- rhel-9.4-server-ose-4.16
2625

2726
# We include hours/minutes to avoid version number reuse
2827
automatic-version-prefix: "416.94.<date:%Y%m%d%H%M>"
@@ -113,22 +112,15 @@ postprocess:
113112
# constraints that do not apply to SCOS
114113
packages:
115114
# We include the generic release package and tweak the os-release info in a
116-
# post-proces script
117-
- centos-release
118-
# Below this are temporary overrides to not get too new content before we retarget RHEL content proper
119-
# https://issues.redhat.com/browse/RHEL-29856
120-
- NetworkManager-1.46.0-1.el9
115+
# post-process script
116+
- redhat-release
121117

122-
# Packages pinned to specific repos in SCOS 9
118+
# Packages pinned to specific repos in RHCOS 9
123119
repo-packages:
124-
# We always want the kernel from BaseOS
125-
- repo: baseos
126-
packages:
127-
- kernel
128-
- repo: appstream
120+
- repo: rhel-9.4-appstream
129121
packages:
130122
- nss-altfiles
131-
- repo: rhel-9.2-server-ose-4.16
123+
- repo: rhel-9.4-server-ose-4.16
132124
packages:
133125
- conmon-rs
134126
- cri-o

0 commit comments

Comments
 (0)