From f4b0a61ea8107ee8730b3a81b652ecc18a470072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbyn=C4=9Bk=20Dr=C3=A1pela?= Date: Mon, 27 Jul 2026 13:39:51 +0200 Subject: [PATCH] ci: force operator install script from rhdh-operator#3284 Temporarily override install-rhdh-catalog-source.sh download to the OLM v1 readiness fix PR so OCP operator nightlies can validate the upstream change. --- .ci/pipelines/install-methods/operator.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.ci/pipelines/install-methods/operator.sh b/.ci/pipelines/install-methods/operator.sh index 864c981217..a42d4d8fa0 100755 --- a/.ci/pipelines/install-methods/operator.sh +++ b/.ci/pipelines/install-methods/operator.sh @@ -22,8 +22,12 @@ install_rhdh_operator() { fi rm -f /tmp/install-rhdh-catalog-source.sh - if ! curl -fL -o /tmp/install-rhdh-catalog-source.sh "https://raw.githubusercontent.com/redhat-developer/rhdh-operator/refs/heads/${RELEASE_BRANCH_NAME}/.rhdh/scripts/install-rhdh-catalog-source.sh"; then - log::error "Failed to download install-rhdh-catalog-source.sh from branch ${RELEASE_BRANCH_NAME}" + # TODO(temporary): force install script from rhdh-operator#3284 (OLM v1 readiness wait). + # Revert once https://github.com/redhat-developer/rhdh-operator/pull/3284 is merged to main. + local install_script_url="${INSTALL_RHDH_CATALOG_SOURCE_URL:-https://raw.githubusercontent.com/redhat-developer/rhdh-operator/refs/pull/3284/head/.rhdh/scripts/install-rhdh-catalog-source.sh}" + log::info "Downloading install-rhdh-catalog-source.sh from: ${install_script_url}" + if ! curl -fL -o /tmp/install-rhdh-catalog-source.sh "${install_script_url}"; then + log::error "Failed to download install-rhdh-catalog-source.sh from ${install_script_url}" return 1 fi chmod +x /tmp/install-rhdh-catalog-source.sh