Skip to content

Commit 86e4814

Browse files
committed
fix:[ci/cd]: 버그 수정
1 parent e022560 commit 86e4814

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/CI-CD_Pipeline.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ jobs:
4141
--health-retries 5
4242
env:
4343
REDIS_PASSWORD: ""
44+
# Qdrant 서비스
45+
qdrant:
46+
image: qdrant/qdrant:v1.3.1
47+
ports:
48+
- 6333:6333
49+
options: >-
50+
--health-cmd "curl -f http://localhost:6333/collections || exit 1"
51+
--health-interval 10s
52+
--health-timeout 5s
53+
--health-retries 5
4454
4555
steps:
4656
- uses: actions/checkout@v4
@@ -85,6 +95,10 @@ jobs:
8595
TEST_REDIS_PORT=6379
8696
TEST_REDIS_PASSWORD=
8797
98+
# Qdrant
99+
TEST_QDRANT_HOST=localhost
100+
TEST_QDRANT_PORT=6333
101+
88102
# CI/CD 환경에서는 Embedded Redis 끄기
89103
SPRING_DATA_REDIS_EMBEDDED=false
90104
@@ -228,7 +242,7 @@ jobs:
228242
set -xe
229243
echo "===== 현재 실행 중인 컨테이너 ====="
230244
docker ps -a || true
231-
245+
232246
echo "===== 기존 컨테이너 종료 & 제거 ====="
233247
docker stop app1 2>/dev/null || true
234248
docker rm app1 2>/dev/null || true

0 commit comments

Comments
 (0)