From f1a6015f6c1024b9adf92ae90834a4d15f0b3e20 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 46d6f3b28..3e246c77d 100644 --- a/ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot +++ b/ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot @@ -51,7 +51,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 354934417..f80f9b333 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