Repository navigation
[Fix] CI MinIO 서비스 컨테이너 제거 - #442
Conversation
MinIO 이미지를 받을 수 있는 공개 레지스트리가 더 이상 없다. Docker Hub 저장소는 삭제됐고 quay.io 도 인증을 요구하도록 바뀌었다. MinIO 를 참조하는 테스트는 모두 MinioClient 를 목으로 대체하며, MinioBucketInitializer 는 접속 실패 시 경고만 남기고 넘어가므로 서비스 컨테이너 없이도 전체 컨텍스트가 정상 기동한다.
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Repository: SEMOSAN/SEMOSAN_BE/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📊 테스트 커버리지 리포트
|
🧾 요약
🔗 이슈
✨ 변경 내용
.github/workflows/test.yml에서minio서비스 컨테이너 블록 제거 (postgres, redis 는 유지)💬 배경
MinIO 이미지를 받을 수 있는 공개 경로가 모두 막혔다.
minio/minio,minio/mcminio/miniodl.min.iomc 바이너리#434 에서 quay 로 옮겨 CI 를 복구했으나, 이후 quay 마저 비공개로 바뀌면서 다시 실패하는 상태다.
제거 가능 근거
MinioClient를 목으로 대체한다MinioBucketInitializerTest—mock(MinioClient.class)AppVersionServiceTest,ImageServiceTest—@Mock MinioClientMinioBucketInitializer는ApplicationRunner이지만 버킷별로 예외를 잡아 경고만 남기므로, 접속에 실패해도 컨텍스트 기동이 중단되지 않는다ApiApplicationTests(전체 컨텍스트 로드) 통과를 확인했다향후 생각할 점
운영 MinIO 는 이번 변경과 무관하며 현재 정상 동작 중이다.
다만 노드에 캐시된 이미지와
imagePullPolicy: IfNotPresent로 버티는 상태라, 이미지 확보 방안은 별도로 논의가 필요하다.✅ 확인