Skip to content

Commit 4e6c60e

Browse files
Print if REGISTRY_ADDRESS is not defined
1 parent 79ddca5 commit 4e6c60e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/scripts/tests/tests.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ ENDPOINT_TYPE="service"
3131

3232
get_dspo_image() {
3333
if [ "$REGISTRY_ADDRESS" = "" ]; then
34-
echo "REGISTRY_ADDRESS variable not defined." && exit 1
34+
# this function is called by `IMG=$(get_dspo_image)` that captures the standard output of get_dspo_image
35+
set -x
36+
echo "REGISTRY_ADDRESS variable not defined."
37+
exit 1
3538
fi
3639
local image="${REGISTRY_ADDRESS}/data-science-pipelines-operator"
3740
echo $image

0 commit comments

Comments
 (0)