Skip to content

Commit

Permalink
Update create-link-ci.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
thebalaa authored May 16, 2024
1 parent 1245f82 commit b9fda97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/create-link-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if [ "$normal_test_proceed" = true ]; then
# assert http response code was 200
# asserts basic auth is working with user: admin, password: admin

if ! docker compose exec gateway curl -k -H "Authorization: Basic YWRtaW46YWRtaW4=" --resolve app.example.com:80:127.0.0.1 http://app.example.com -I |grep "HTTP/2 301"; then
if ! docker compose exec gateway curl -k -H "Authorization: Basic YWRtaW46YWRtaW4=" --resolve app.example.com:80:127.0.0.1 http://app.example.com -I |grep "HTTP/1.1 308"; then
FAILED="true"
echo -e "\033[0;31m Default Link curl FAILED\033[0m" # red for failure
else
Expand Down

0 comments on commit b9fda97

Please sign in to comment.