Skip to content

Commit a88f428

Browse files
Merge pull request #5493 from ggiguash/upgrade-crio-version
USHIFT-6049: Upgrade cri-o and cri-tools version to 1.34
2 parents 471fe39 + a8e5c92 commit a88f428

File tree

6 files changed

+10
-23
lines changed

6 files changed

+10
-23
lines changed

packaging/rpm/microshift.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ BuildRequires: systemd
6666
BuildRequires: golang
6767
# DO NOT REMOVE
6868

69-
Requires: cri-o >= 1.33.0, cri-o < 1.34.0
70-
Requires: cri-tools >= 1.33.0, cri-tools < 1.34.0
69+
Requires: cri-o >= 1.34.0, cri-o < 1.35.0
70+
Requires: cri-tools >= 1.34.0, cri-tools < 1.35.0
7171
Requires: iptables
7272
Requires: microshift-selinux = %{version}
7373
Requires: microshift-networking = %{version}
@@ -807,6 +807,9 @@ fi
807807
# Use Git command to generate the log and replace the VERSION string
808808
# LANG=C git log --date="format:%a %b %d %Y" --pretty="tformat:* %cd %an <%ae> VERSION%n- %s%n" packaging/rpm/microshift.spec
809809
%changelog
810+
* Thu Sep 18 2025 Gregory Giguashvili <[email protected]> 4.21.0
811+
- Upgrade cri-o and cri-tools to v1.34
812+
810813
* Mon Aug 11 2025 Patryk Matuszak <[email protected]> 4.20.0
811814
- Remove healthcheck scripts: optional MicroShift workloads are now part of healthcheck command
812815

scripts/devenv-builder/configure-vm.sh

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -212,26 +212,10 @@ EOF
212212
if [[ "${PREVIOUS_RHOCP}" =~ ^[0-9]{2} ]]; then
213213
sudo subscription-manager repos --enable "rhocp-4.${PREVIOUS_RHOCP}-for-rhel-9-$(uname -m)-rpms"
214214
else
215-
# When its early in the new release cycle the previous release may not have a repo yet, use the beta.
216-
PREVIOUS_RHOCP_BETA=$("${RHOCP_REPO}" $((ver-1)))
217-
if [[ "${PREVIOUS_RHOCP_BETA}" =~ ^http ]]; then
218-
prev_url=$(echo "${PREVIOUS_RHOCP_BETA}" | cut -d, -f1)
219-
prev_ver=$(echo "${PREVIOUS_RHOCP_BETA}" | cut -d, -f2)
220-
PREV_OCP_REPO_NAME="rhocp-4.${prev_ver}-for-rhel-9-mirrorbeta-$(uname -i)-rpms"
221-
sudo tee "/etc/yum.repos.d/${PREV_OCP_REPO_NAME}.repo" >/dev/null <<EOF
222-
[${PREV_OCP_REPO_NAME}]
223-
name=Beta rhocp-4.${prev_ver} RPMs for RHEL 9
224-
baseurl=${prev_url}
225-
enabled=1
226-
gpgcheck=0
227-
skip_if_unavailable=0
228-
EOF
229-
else
230-
# If RHOCP Y-1 is not available, try RHOCP Y-2.
231-
Y2_RHOCP=$("${RHOCP_REPO}" $((ver-2)))
232-
if [[ "${Y2_RHOCP}" =~ ^[0-9]{2} ]]; then
233-
sudo subscription-manager repos --enable "rhocp-4.${Y2_RHOCP}-for-rhel-9-$(uname -m)-rpms"
234-
fi
215+
# If RHOCP Y-1 is not available, try RHOCP Y-2.
216+
Y2_RHOCP=$("${RHOCP_REPO}" $((ver-2)))
217+
if [[ "${Y2_RHOCP}" =~ ^[0-9]{2} ]]; then
218+
sudo subscription-manager repos --enable "rhocp-4.${Y2_RHOCP}-for-rhel-9-$(uname -m)-rpms"
235219
fi
236220
fi
237221
fi

test/bin/common_versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export YMINUS2_RELEASE_VERSION
102102
# If the release version is defined, the repository should be deduced from the
103103
# CURRENT_RELEASE_REPO setting.
104104
RHOCP_MINOR_Y=""
105-
RHOCP_MINOR_Y_BETA="https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/dependencies/rpms/4.20-el9-beta/"
105+
RHOCP_MINOR_Y_BETA="https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/dependencies/rpms/4.21-el9-beta/"
106106
export RHOCP_MINOR_Y
107107
export RHOCP_MINOR_Y_BETA
108108

0 commit comments

Comments
 (0)