Skip to content

Commit

Permalink
Fix install.sh conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
RobGeada authored Aug 15, 2023
1 parent d5de5d6 commit fccb64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fccb64e

Please sign in to comment.