Skip to content

[Fix] CI MinIO 서비스 컨테이너 제거 - #442

Merged
howooyeon merged 1 commit into
developfrom
fix/#441-remove-ci-minio
Sep 26, 2026
Merged

howooyeon merged 1 commit into
developfrom
fix/#441-remove-ci-minio

Conversation

@howooyeon

@howooyeon howooyeon commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

🧾 요약

  • MinIO 이미지를 받을 수 있는 공개 레지스트리가 사라져 CI 가 실패하므로, 어떤 테스트도 사용하지 않는 MinIO 서비스 컨테이너를 제거

🔗 이슈

✨ 변경 내용

  • .github/workflows/test.yml 에서 minio 서비스 컨테이너 블록 제거 (postgres, redis 는 유지)

💬 배경

MinIO 이미지를 받을 수 있는 공개 경로가 모두 막혔다.

배포처 상태
Docker Hub minio/minio, minio/mc 저장소 삭제
quay.io minio/minio 인증 필요로 전환 (익명 토큰 재요청에도 401)
dl.min.io mc 바이너리 HTTP 410

#434 에서 quay 로 옮겨 CI 를 복구했으나, 이후 quay 마저 비공개로 바뀌면서 다시 실패하는 상태다.

제거 가능 근거

  • MinIO 를 참조하는 테스트 3종은 모두 MinioClient 를 목으로 대체한다
    • MinioBucketInitializerTest — mock(MinioClient.class)
    • AppVersionServiceTest, ImageServiceTest — @Mock MinioClient
  • MinioBucketInitializer 는 ApplicationRunner 이지만 버킷별로 예외를 잡아 경고만 남기므로, 접속에 실패해도 컨텍스트 기동이 중단되지 않는다
  • 로컬에 MinIO 가 없는 상태에서 ApiApplicationTests(전체 컨텍스트 로드) 통과를 확인했다

향후 생각할 점

운영 MinIO 는 이번 변경과 무관하며 현재 정상 동작 중이다.
다만 노드에 캐시된 이미지와 imagePullPolicy: IfNotPresent 로 버티는 상태라, 이미지 확보 방안은 별도로 논의가 필요하다.

✅ 확인

  • 빌드 OK
  • 테스트 OK (이 PR 의 test 잡 통과로 CI 복구 확인)

MinIO 이미지를 받을 수 있는 공개 레지스트리가 더 이상 없다.
Docker Hub 저장소는 삭제됐고 quay.io 도 인증을 요구하도록 바뀌었다.

MinIO 를 참조하는 테스트는 모두 MinioClient 를 목으로 대체하며,
MinioBucketInitializer 는 접속 실패 시 경고만 남기고 넘어가므로
서비스 컨테이너 없이도 전체 컨텍스트가 정상 기동한다.
@howooyeon howooyeon added the bug Something isn't working label Sep 26, 2026
@howooyeon howooyeon self-assigned this Sep 26, 2026
@coderabbitai

coderabbitai Bot commented Sep 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • .github/workflows/test.yml is excluded by !**/*.yml

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Repository: SEMOSAN/SEMOSAN_BE/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: c12487b4-d1de-4c01-ab61-fc13ab645769

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

📊 테스트 커버리지 리포트

Overall Project 98.47% 🍏

There is no coverage information present for the Files changed

@howooyeon
howooyeon merged commit 0262c03 into develop Sep 26, 2026
5 checks passed
@howooyeon
howooyeon deleted the fix/#441-remove-ci-minio branch September 26, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix] CI MinIO 서비스 컨테이너 제거 (이미지 확보 불가)

1 participant