Skip to content

Commit

Permalink
exit when $IMAGE_NAME not provided in test
Browse files Browse the repository at this point in the history
instead of using deprecated centos7 image as it was until now.
  • Loading branch information
zmiklank committed Mar 14, 2024
1 parent 9bce450 commit 1276ace
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/run
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
# IMAGE_NAME specifies a name of the candidate image used for testing.
# The image has to be available before this script is executed.
#
IMAGE_NAME=${IMAGE_NAME-quay.io/centos7/ruby-27-centos7-candidate}
if [ -z $IMAGE_NAME ]; then
echo "\$IMAGE_NAME not specified"
exit 1
fi

declare -a WEB_SERVERS=(db puma rack)
#declare -a WEB_SERVERS=(db)
Expand Down

0 comments on commit 1276ace

Please sign in to comment.