diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 187b1e8..2065315 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -135,7 +135,7 @@ verify: - | HEALTH_OK=0 for i in 1 2 3 4 5 6; do - if node -e "require('http').get('http://localhost:3001/health', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) }).on('error', () => process.exit(1))" > /dev/null 2>&1; then + if docker exec mvp-backend curl -sf http://localhost:3001/health > /dev/null 2>&1; then echo "OK: Backend health check passed" HEALTH_OK=1 break