From 2e60ebf62bec81b1f0b5db0ea63829e5e24af6c1 Mon Sep 17 00:00:00 2001 From: Arthy Loganathan Date: Thu, 28 Nov 2024 13:27:06 +0530 Subject: [PATCH] Add changes to handle RHOAI deployment from stage for SelfManaged (#2080) * Changes for deploying RHOAI from stage Signed-off-by: Arthy Loganathan * Add changes to handle RHOAI deployment from stage Signed-off-by: Arthy Loganathan --------- Signed-off-by: Arthy Loganathan --- ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot | 2 +- ods_ci/tasks/Tasks/rhods_olm.robot | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot b/ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot index c452cff81..33d31ecfa 100644 --- a/ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot +++ b/ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot @@ -52,7 +52,7 @@ Install RHODS IF "${PRODUCT}" == "ODH" Run sed -i'' -e 's//community-operators/' ${file_path}cs_apply.yaml ELSE - Run sed -i'' -e 's//redhat-operators/' ${file_path}cs_apply.yaml + Run sed -i'' -e 's//${CATALOG_SOURCE}/' ${file_path}cs_apply.yaml END Run sed -i'' -e 's//${OPERATOR_NAME}/' ${file_path}cs_apply.yaml Run sed -i'' -e 's//${OPERATOR_NAMESPACE}/' ${file_path}cs_apply.yaml diff --git a/ods_ci/tasks/Tasks/rhods_olm.robot b/ods_ci/tasks/Tasks/rhods_olm.robot index 7f86548e6..82d47e4da 100644 --- a/ods_ci/tasks/Tasks/rhods_olm.robot +++ b/ods_ci/tasks/Tasks/rhods_olm.robot @@ -17,6 +17,7 @@ ${INSTALL_TYPE} OperatorHub ${UPDATE_CHANNEL} odh-nightlies ${OLM_DIR} rhodsolm ${RHODS_VERSION} None +${CATALOG_SOURCE} redhat-operators *** Tasks *** Can Install RHODS Operator