Skip to content

Commit

Permalink
ci/prow-entrypoint: Temporarily enable RHEL 9.4 repos with C10S
Browse files Browse the repository at this point in the history
  • Loading branch information
travier committed May 2, 2024
1 parent 4640c63 commit edd2945
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ci/prow-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/ocp.repo"
awk '/rhel-9.4-fast-datapath/,/^$/' "src/config/tmp.repo" > "src/config/ocp.repo"
awk '/rhel-9.4-server-ose-4.16/,/^$/' "src/config/tmp.repo" > "src/config/ocp.repo"
cat src/config/ocp.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
Expand Down

0 comments on commit edd2945

Please sign in to comment.