managarten/.github/workflows
Wuesteon cf2b6aaa2b 🐛 fix(cd): fix postgres startup and health check issues in staging
Fixes two critical deployment issues:

1. Postgres Container Startup Failure:
   - Remove missing init.sql volume mount that caused postgres to fail
   - Postgres was trying to mount ./docker/postgres/init.sql which doesn't exist
   - Added REDIS_PASSWORD environment variable

2. Health Check SSH Issues:
   - Consolidated health checks into single SSH session
   - Increased wait time from 30s to 60s for services to fully initialize
   - Improved health check output with clear status messages
   - Added container status logging for debugging

3. Docker Compose Improvements:
   - Remove obsolete 'version: 3.9' field (deprecated in Compose v2)
   - Increase initial startup wait from 10s to 15s

Changes to docker-compose.staging.yml:
- Removed non-existent init.sql volume mount from postgres
- Removed obsolete version field

Changes to .github/workflows/cd-staging.yml:
- Added REDIS_PASSWORD to environment variables
- Consolidated health checks into single SSH session (fixes "ssh: command not found")
- Increased wait times for service initialization
- Improved logging and error messages

This should fix the "dependency failed to start: container manacore-postgres-staging is unhealthy" error.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 04:21:15 +01:00
..
cd-production.yml first implementation 2025-11-27 17:26:18 +01:00
cd-staging-tagged.yml 🔒️ feat(auth): centralize JWT validation and add deployment docs 2025-12-01 20:44:45 +01:00
cd-staging.yml 🐛 fix(cd): fix postgres startup and health check issues in staging 2025-12-04 04:21:15 +01:00
ci-main.yml fix(ci): fix YAML syntax error in ci-main.yml 2025-12-01 23:50:39 +01:00
ci-pull-request.yml fix(ci): make format check non-blocking 2025-11-27 19:53:03 +01:00
dependency-update.yml first implementation 2025-11-27 17:26:18 +01:00
test-coverage.yml chore(ci): remove Codecov integration 2025-12-01 23:26:58 +01:00
test.yml 🐛 fix(ci): correct GitHub context property in test workflow 2025-12-04 01:26:04 +01:00