Skip to content

Commit

Permalink
add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Aug 2, 2024
1 parent f09c561 commit 1718461
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,22 @@ jobs:
DOCKER_BUILDKIT: 0
run: docker compose up -d --wait

- name: Wait for Webserver reachable
run: |
attempt_counter=0
max_attempts=5
until $(curl --output /dev/null --silent --head --fail localhost:8000/admin); do
if [ ${attempt_counter} -eq ${max_attempts} ];then
echo "Max attempts reached"
exit 1
fi
printf '.'
attempt_counter=$(($attempt_counter+1))
sleep 5
done
- name: Check if shopware is running
run: curl --fail localhost:8000/admin

Expand Down
2 changes: 1 addition & 1 deletion fpm/rootfs/setup
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

if [[ -e /var/www/html/vendor/bin/shopware-deployment-helper ]]; then
cd /var/www/html
exec /var/www/html/vendor/bin/shopware-deployment-helper run
exec ./vendor/bin/shopware-deployment-helper run
fi

echo "### DEPRECATION ###"
Expand Down

0 comments on commit 1718461

Please sign in to comment.