Skip to content

Commit

Permalink
Debug premium ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreGauthier committed Sep 3, 2024
1 parent 2a39a70 commit ee9c53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/php/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then

if grep -q ELASTICSEARCH_URL= .env; then
echo "Waiting for search engine to be ready..."
ATTEMPTS_LEFT_TO_REACH_SEARCH=60
ATTEMPTS_LEFT_TO_REACH_SEARCH=100
export $(grep 'ELASTICSEARCH_URL=' .env | xargs)
until [ $ATTEMPTS_LEFT_TO_REACH_SEARCH -eq 0 ] || SEARCH_ERROR=$(curl -s ${ELASTICSEARCH_URL}); do
sleep 1
Expand Down

0 comments on commit ee9c53e

Please sign in to comment.