Skip to content

Commit 77977f3

Browse files
author
Matthew
committed
fix(tests): check https://$DEV_REGISTRY
In the case of DockerHub which just closed down http:// access this morning, we should also be checking https://, which is still up.
1 parent 8affe35 commit 77977f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/bin/test-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export DEIS_PROFILE=test-$DEIS_TEST_ID
5959
rm -f $HOME/.deis/test-$DEIS_TEST_ID.json
6060

6161
# bail if registry is not accessible
62-
if ! curl -s $DEV_REGISTRY; then
62+
if ! curl -s $DEV_REGISTRY && ! curl -s https://$DEV_REGISTRY; then
6363
echo "DEV_REGISTRY is not accessible, exiting..."
6464
exit 1
6565
fi

0 commit comments

Comments
 (0)