diff --git a/ci/prow-entrypoint.sh b/ci/prow-entrypoint.sh index 354060a09..e252f3f16 100755 --- a/ci/prow-entrypoint.sh +++ b/ci/prow-entrypoint.sh @@ -73,16 +73,16 @@ 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.) - # Temporary workaround until we publish builds for other versions - if [[ "${rhelver}" == "86" ]]; then - prev_build_url="${REDIRECTOR_URL}/rhcos-${ocpver}/" + # Temporary workaround until we publish builds in the default path + if [[ "${rhelver}" == "92" ]]; then + prev_build_url="${REDIRECTOR_URL}/rhcos-${ocpver}-9.2/" # Fetch the previous build cosa buildfetch --url="${prev_build_url}" fi # Fetch the repos corresponding to the release we are building case "${rhelver}" in - 86|90|92) + 92) # 92 doesn't exist in release controller right now if [[ "${rhelver}" == "92" ]]; then rhelver=90; fi curl --fail -L "http://base-${ocpver_mut}-rhel${rhelver}.ocp.svc.cluster.local" -o "src/config/ocp.repo" @@ -243,27 +243,15 @@ main () { prepare_repos ;; "build" | "init-and-build-default") # TODO: change prow job to use init-and-build-default - cosa_init "rhel-coreos-8" + cosa_init "rhel-coreos-9" cosa_build ;; "rhcos-cosa-prow-pr-ci") setup_user - cosa_init "rhel-coreos-8" - cosa_build - kola_test_qemu - ;; - "rhcos-86-build-test-qemu") - setup_user - cosa_init "rhel-coreos-8" + cosa_init "rhel-coreos-9" cosa_build kola_test_qemu ;; - "rhcos-86-build-test-metal") - setup_user - cosa_init "rhel-coreos-8" - cosa_build - kola_test_metal - ;; "rhcos-92-build-test-qemu"|"rhcos-90-build-test-qemu") setup_user cosa_init "rhel-coreos-9" @@ -282,12 +270,16 @@ main () { cosa_build kola_test_qemu ;; - "scos-9-build-test-metal" ) + "scos-9-build-test-metal") setup_user cosa_init "scos" cosa_build kola_test_metal ;; + "rhcos-86-build-test-qemu"|"rhcos-86-build-test-metal") + # Disabled tests + exit 0 + ;; *) # This case ensures that we exhaustively list the tests that should # pass for a PR. To add a new test in openshift/os: diff --git a/extensions.yaml b/extensions.yaml index 942638da8..91cb33f65 120000 --- a/extensions.yaml +++ b/extensions.yaml @@ -1 +1 @@ -extensions-rhel-coreos-8.yaml \ No newline at end of file +extensions-rhel-coreos-9.yaml \ No newline at end of file diff --git a/image.yaml b/image.yaml index 7fb039b25..81b4da813 120000 --- a/image.yaml +++ b/image.yaml @@ -1 +1 @@ -image-rhel-coreos-8.yaml \ No newline at end of file +image-rhel-coreos-9.yaml \ No newline at end of file diff --git a/manifest.yaml b/manifest.yaml index 72f0b18ae..5aa2be8d1 120000 --- a/manifest.yaml +++ b/manifest.yaml @@ -1 +1 @@ -manifest-rhel-coreos-8.yaml \ No newline at end of file +manifest-rhel-coreos-9.yaml \ No newline at end of file