From 598a3f5dab0d059158d81a96ae7252c6dca31f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Ravier?= Date: Thu, 2 May 2024 12:54:25 +0200 Subject: [PATCH] ci/prow-entrypoint: Temporarily enable RHEL 9.4 repos with C10S --- ci/prow-entrypoint.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ci/prow-entrypoint.sh b/ci/prow-entrypoint.sh index 8f2cee52..0690dcda 100755 --- a/ci/prow-entrypoint.sh +++ b/ci/prow-entrypoint.sh @@ -86,6 +86,16 @@ prepare_repos() { curl --fail -L "http://base-${ocpver_mut}-rhel${rhelver}.ocp.svc.cluster.local" -o "src/config/ocp.repo" cat src/config/ocp.repo ;; + c10s) + # Temporary workaround until we have all packages for SCOS + curl --fail -L "http://base-${ocpver_mut}-rhel92.ocp.svc.cluster.local" -o "src/config/tmp.repo" + awk '/rhel-9.4-appstream/,/^$/' "src/config/tmp.repo" > "src/config/ocp90.repo" + awk '/rhel-9.4-fast-datapath/,/^$/' "src/config/tmp.repo" >> "src/config/ocp90.repo" + awk '/rhel-9.4-server-ose-4.16/,/^$/' "src/config/tmp.repo" >> "src/config/ocp90.repo" + cat src/config/ocp90.repo + rm "src/config/tmp.repo" + ;; + *) # Assume C9S/SCOS if the version does not match known values for RHEL # Temporary workaround until we have all packages for SCOS