[feat] Firebase Admin Sdk 볼륨 마운트 형태로 주입#1339
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedPull request was closed or merged during review Warning
|
| Cohort / File(s) | Summary |
|---|---|
CI/CD 워크플로우 .github/workflows/server_cd_release.yml |
릴리즈 워크플로우의 application.properties 생성 직후 firebase.json 생성 단계를 제거했습니다. |
Firebase 초기화 설정 backend/src/main/java/moadong/global/util/FcmInitializer.java |
하드코딩된 ClassPathResource를 @Value("${firebase.config.path:classpath:firebase.json}")로 주입받는 방식으로 변경하여 Firebase 설정 파일 경로를 외부에서 설정 가능하게 개선했습니다. 리소스 존재 여부 검증 및 에러 로깅 로직을 추가했습니다. |
Estimated code review effort
🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
- [cicd] firebase.json 추가 #814: CI/CD 워크플로우에서 firebase.json 생성 단계를 제거한 이번 PR와 firebase.json 생성을 추가한 해당 PR이 Firebase 설정 관리 방식을 대조적으로 수정합니다.
Suggested labels
📦 CI/CD
🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Docstring Coverage | Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. | Write docstrings for the functions missing them to satisfy the coverage threshold. |
✅ Passed checks (2 passed)
| Check name | Status | Explanation |
|---|---|---|
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check | ✅ Passed | PR 제목은 Firebase Admin SDK를 볼륨 마운트 형태로 주입하는 변경사항을 정확히 설명하며, 제공된 raw_summary와 pr_objectives의 주요 목표(Docker 이미지에 민감한 설정 파일 직접 포함 제거, Kubernetes 배포 시 볼륨 마운트로 주입)와 일치합니다. |
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches
📝 Generate docstrings
- Create stacked PR
- Commit on current branch
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Commit unit tests in branch
feature/#1338-file-mount-firebase-admin-sdk-MOA-750
📝 Coding Plan
- Generate coding plan for human review comments
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 @coderabbitai help to get the list of available commands and usage tips.
Tip
CodeRabbit can generate a title for your PR based on the changes with custom instructions.
Set the reviews.auto_title_instructions setting to generate a title for your PR based on the changes in the PR with custom instructions.
Test Results100 tests 100 ✅ 20s ⏱️ Results for commit 5b1c9b9. |
#️⃣연관된 이슈
📝작업 내용
현재 도커이미지에 민감한 Admin SDK 설정파일이 주입되어있었음.
그부분을 K8s 배포시 볼륨 마운트를 시켜 기록이 남지 않게 변경함.
중점적으로 리뷰받고 싶은 부분(선택)
논의하고 싶은 부분(선택)
🫡 참고사항
Summary by CodeRabbit