Skip to content

How to create rhaos openshift release rhel 9 branch on dist git

Praveen Kumar edited this page Oct 9, 2024 · 1 revision

Same process with the containers/crc-cluster-kube-controller-manager-operator and commit is d044c36acc81fb866a0e51db7834880c7bc76969

From 4.16 onwards the images might change for RHEL-9 base so the branches going to shift to rhoas-4.16-rhel-9

rhpkg clone containers/crc-cluster-kube-apiserver-operator
cd crc-cluster-kube-apiserver-operator/
git remote add upstream https://pkgs.devel.redhat.com/git/containers/ose-cluster-kube-apiserver-operator
git fetch upstream rhaos-4.16-rhel-9 --no-tags
git checkout -b rhaos-4.16-rhel-9 upstream/rhaos-4.16-rhel-9

# This commit contain the patch which have 1 year of validity
git show cc8b858c1c5e94d038f3661fa7765ccfdae09e0d
git cherry-pick cc8b858c1c5e94d038f3661fa7765ccfdae09e0d
git push origin HEAD