Skip to content

Commit

Permalink
Print if REGISTRY_ADDRESS is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolovison authored and openshift-merge-bot[bot] committed Nov 18, 2024
1 parent 79ddca5 commit 4e6c60e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/scripts/tests/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ ENDPOINT_TYPE="service"

get_dspo_image() {
if [ "$REGISTRY_ADDRESS" = "" ]; then
echo "REGISTRY_ADDRESS variable not defined." && exit 1
# this function is called by `IMG=$(get_dspo_image)` that captures the standard output of get_dspo_image
set -x
echo "REGISTRY_ADDRESS variable not defined."
exit 1
fi
local image="${REGISTRY_ADDRESS}/data-science-pipelines-operator"
echo $image
Expand Down

0 comments on commit 4e6c60e

Please sign in to comment.