Skip to content

Commit

Permalink
DO NOT MERGE: test prow ci for 9.16 variant
Browse files Browse the repository at this point in the history
  • Loading branch information
jbtrystram committed Oct 2, 2024
1 parent b5099bf commit 70ea386
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions ci/prow-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ prepare_repos() {
# Figure out which version we're building
rhelver=$(rpm-ostree compose tree --print-only "${manifest}" | jq -r '.["automatic-version-prefix"]' | cut -f2 -d.)

# use 9.4 repos for 9.6
if [[ "${rhelver}" == "96" ]]; then
rhelver="94"
fi

# Temporary workaround until we publish builds in the default path
if [[ "${rhelver}" == "94" ]]; then
prev_build_url="${REDIRECTOR_URL}/${ocpver}-9.4/builds/"
Expand Down Expand Up @@ -305,7 +310,7 @@ main() {
prepare_repos
;;
"build" | "init-and-build-default") # TODO: change prow job to use init-and-build-default
cosa_init "ocp-rhel-9.4"
cosa_init "ocp-rhel-9.6"
cosa_build
;;
"rhcos-cosa-prow-pr-ci")
Expand All @@ -316,13 +321,13 @@ main() {
;;
"rhcos-9-build-test-qemu")
setup_user
cosa_init "ocp-rhel-9.4"
cosa_init "ocp-rhel-9.6"
cosa_build
kola_test_qemu
;;
"rhcos-9-build-test-metal")
setup_user
cosa_init "ocp-rhel-9.4"
cosa_init "ocp-rhel-9.6"
cosa_build
kola_test_metal
;;
Expand Down

0 comments on commit 70ea386

Please sign in to comment.