From fccb64e15d19f99cd9e7dd89c859702f56cbb5c4 Mon Sep 17 00:00:00 2001 From: Rob Geada Date: Tue, 15 Aug 2023 16:01:39 +0100 Subject: [PATCH] Fix install.sh conditional --- tests/scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/install.sh b/tests/scripts/install.sh index a670aaa1..b158fe06 100755 --- a/tests/scripts/install.sh +++ b/tests/scripts/install.sh @@ -46,7 +46,7 @@ pushd ~/kfdef sed -i "s#value: serviceTagPlaceholder#value: latest#" $HOME/peak/operator-tests/trustyai-explainability/resources/trustyai/trustyai_operator_kfdef.yaml sed -i "s#value: serviceImagePlaceholder#value: quay.io/trustyai/trustyai-service#" $HOME/peak/operator-tests/trustyai-explainability/resources/trustyai/trustyai_operator_kfdef.yaml -if [ -z "$PULL_NUMBER" ] || [ $REPO_NAME -ne "trustyai-service-operator" ];; then +if [ -z "$PULL_NUMBER" ] || [ $REPO_NAME != "trustyai-service-operator" ]; then echo "No pull number/not correct repo, using default values for ${KFDEF_FILENAME}" sed -i "s#value: operatorTagPlaceholder#value: latest#" $HOME/peak/operator-tests/trustyai-explainability/resources/trustyai/trustyai_operator_kfdef.yaml sed -i "s#value: operatorImagePlaceholder#value: quay.io/trustyai/trustyai-service-operator#" $HOME/peak/operator-tests/trustyai-explainability/resources/trustyai/trustyai_operator_kfdef.yaml