Skip to content

Commit

Permalink
Update friendship-pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mjj111 authored Sep 23, 2024
1 parent c5abc7e commit d35d85e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/friendship-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
test-mongo:
image: mongo:latest
ports:
- 27018:27017 # 다른 포트를 사용하여 충돌을 방지
- 27017:27017
options: --name test-mongo --health-cmd="mongosh --eval 'db.adminCommand(\"ping\")'" --health-interval=10s --health-timeout=5s --health-retries=5

steps:
Expand Down Expand Up @@ -68,12 +68,6 @@ jobs:
- name: Gradle 빌드
run: ./gradlew build -x test

- name: 테스트 실행
run: ./gradlew test
env:
MONGO_HOST: localhost
MONGO_PORT: 27018 # 테스트용 MongoDB의 포트로 설정

- name: Docker 이미지 파일 PUSH
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
Expand Down

0 comments on commit d35d85e

Please sign in to comment.