Conversation
hotfix - deploy 수정
|
Caution Review failedThe pull request is closed. WalkthroughCI 배포 워크플로에서 로컬 JDK/Gradle 빌드와 JAR/Dockerfile 업로드를 제거하고, 프로젝트 소스 및 .env를 EC2로 업로드한 뒤 EC2에서 docker-compose로 빌드/배포하도록 변경. Docker 및 compose-plugin 설치/검증 로직 추가. CloudFront 무효화 단계 번호 조정. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as GitHub Actions
participant EC2 as EC2 Host
participant Docker as Docker Engine
participant CF as CloudFront
Dev->>EC2: SCP 업로드 (backendProject/**, docker-compose-prod.yml, .env)
Dev->>EC2: SSH 접속 후 배포 스크립트 실행
EC2->>EC2: docker/compose-plugin 존재 확인 및 필요시 설치
EC2->>Docker: docker daemon enable/start, 권한 설정
EC2->>Docker: docker compose -f docker-compose-prod.yml down
EC2->>Docker: docker compose -f docker-compose-prod.yml build --no-cache
EC2->>Docker: docker compose -f docker-compose-prod.yml up -d
Note over EC2,Docker: (선택) 이미지 정리 docker image prune -f
Dev->>CF: CloudFront 무효화 요청
CF-->>Dev: 무효화 진행 응답
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit