diff --git a/.github/workflows/code_checks.yml b/.github/workflows/code_checks.yml index c5c1b3f4..3bc3d84b 100755 --- a/.github/workflows/code_checks.yml +++ b/.github/workflows/code_checks.yml @@ -95,5 +95,5 @@ jobs: - name: Run Docker-based tests run: | echo "🐳 Running Docker-based tests..." - chmod +x ./run_docker_tests.sh - ./run_docker_tests.sh + chmod +x ./test/docker_tests/run_docker_tests.sh + ./test/docker_tests/run_docker_tests.sh diff --git a/install/production-filesystem/services/healthcheck.sh b/install/production-filesystem/services/healthcheck.sh index dce3183f..166cbe4f 100755 --- a/install/production-filesystem/services/healthcheck.sh +++ b/install/production-filesystem/services/healthcheck.sh @@ -26,7 +26,7 @@ if pgrep -f "supercronic" > /dev/null; then else log_error "supercronic is not running" fi -docker inspect --format='{{json .State.Health}}' + # 2. Check if php-fpm is running if pgrep -f "php-fpm" > /dev/null; then log_success "php-fpm is running" diff --git a/run_docker_tests.sh b/test/docker_tests/run_docker_tests.sh similarity index 100% rename from run_docker_tests.sh rename to test/docker_tests/run_docker_tests.sh