We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17770f2 commit 42f0bc7Copy full SHA for 42f0bc7
.github/workflows/quality-gate.yml
@@ -90,7 +90,16 @@ jobs:
90
echo ".env file contents:"
91
cat .env
92
93
- - name: Build and start services
+ - name: Start database first
94
+ run: docker compose up -d db redis
95
+
96
+ - name: Wait for database to be ready
97
+ run: |
98
+ echo "Waiting for database to be ready..."
99
+ timeout 60 bash -c 'until docker compose exec db pg_isready -U postgres; do sleep 2; done'
100
+ echo "Database is ready!"
101
102
+ - name: Start remaining services
103
run: docker compose up -d --build
104
105
- name: Check container status immediately
0 commit comments