Skip to content

Commit 0e93185

Browse files
committed
wip9
1 parent e32f86d commit 0e93185

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker-build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
- name: Start containers with Docker Compose
125125
run: |
126126
# Start services
127-
docker-compose -f docker-compose.test.yml up -d db es ldapsearch
127+
docker compose -f docker-compose.test.yml up -d db es ldapsearch
128128
129129
# Wait for DB to be ready
130130
echo "Waiting for database to be ready..."
@@ -135,14 +135,14 @@ jobs:
135135
timeout 90s bash -c 'until curl -s http://localhost:9200/_cluster/health | grep -q "status.*[green|yellow]"; do sleep 3; echo "Still waiting for ES..."; done'
136136
137137
# Start CWS console
138-
docker-compose -f docker-compose.test.yml up -d cws
138+
docker compose -f docker-compose.test.yml up -d cws
139139
140140
# Wait for console to be ready
141141
echo "Waiting for CWS console to be ready..."
142142
timeout 120s bash -c 'until curl -k -s https://localhost:38443/cws-ui/login > /dev/null; do sleep 5; echo "Still waiting for console..."; done'
143143
144144
# Start worker
145-
docker-compose -f docker-compose.test.yml up -d cws-worker
145+
docker compose -f docker-compose.test.yml up -d cws-worker
146146
147147
- name: Create test container
148148
run: |
@@ -182,7 +182,7 @@ jobs:
182182
if: always()
183183
run: |
184184
# Stop and remove all containers
185-
docker-compose -f docker-compose.test.yml down -v
185+
docker compose -f docker-compose.test.yml down -v
186186
docker stop cws-test || true
187187
docker rm cws-test || true
188188
docker network rm cws-network || true

0 commit comments

Comments
 (0)