Conversation
|
Caution Review failedThe pull request is closed. Walkthrough운영 서버 배포를 위한 통합 설정을 수행합니다. 새로운 Jenkins 파이프라인을 추가하고, Dockerfile의 실행 사용자를 변경하며, 프로덕션 프로필에 대한 OAuth 및 Sentry 설정을 추가하고, EC2 배포 워크플로우를 수정합니다. Changes
Sequence Diagram(s)sequenceDiagram
actor Dev as 개발자
participant Git as GitHub
participant Jenkins as Jenkins
participant Gradle as Gradle
participant Docker as Docker Registry
participant SSH as SSH
participant Prod as 운영 서버
Dev->>Git: 코드 푸시
Git->>Jenkins: 파이프라인 트리거
Jenkins->>Git: 1. 코드 체크아웃
activate Jenkins
Jenkins->>Jenkins: 2. Git SHA 추출
rect rgb(200, 220, 255)
Note over Jenkins: 자격증명 로드 & 구성 생성
Jenkins->>Jenkins: 3. 시크릿 로드 (DockerHub, Google/Firebase 키)
Jenkins->>Jenkins: 4. env.properties, google.json 생성
end
Jenkins->>Gradle: 5. Gradle bootJar 빌드
activate Gradle
Gradle-->>Jenkins: JAR 생성
deactivate Gradle
Jenkins->>Docker: 6. Docker 이미지 빌드 & 푸시 (SHORT_SHA 태그)
activate Docker
Docker-->>Jenkins: 이미지 푸시 완료
deactivate Docker
rect rgb(220, 255, 220)
Note over Jenkins,Prod: 배포 단계
Jenkins->>SSH: 7. blue/green 배포 스크립트 실행 (SSH)
activate SSH
SSH->>Prod: 배포 명령 전송
Prod-->>SSH: 배포 완료
deactivate SSH
end
rect rgb(255, 240, 220)
Note over Jenkins: 사후 처리 (항상 실행)
Jenkins->>Jenkins: 8. Discord 알림 (상태 기반 색상)
Jenkins->>Jenkins: 9. 정리 (docker logout)
end
deactivate Jenkins
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes 주요 이유: 새로운 Jenkins 파이프라인의 CI/CD 로직 검증, Dockerfile의 사용자 변경에 따른 영향 범위 검토, 다중 프로필에 걸친 설정 파일 검증(oauth, sentry), 배포 자동화 흐름의 정확성 확인이 필요합니다. Possibly related PRs
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (5)
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📄 PR 요약
✍🏻 PR 상세
👀 참고사항
✅ 체크리스트
🚪 연관된 이슈 번호
Closes #73
Summary by CodeRabbit
릴리즈 노트
새로운 기능
개선사항
Chores