Skip to content

Conversation

@minjungw00
Copy link
Collaborator

📝 변경 사항

  • notion link
  • 배포 시간이 약 12분 40초에서 최소 약 7분, 최대 약 2분 40초로 단축

🔍 변경 사항 설명

  • NCloud에서 OCI로 클라우드 서버를 이전하면서, 서버 인스턴스의 성능이 저하돼 배포 시간이 기하급수적으로 증가한 문제가 있었습니다.
  • 기존 배포 과정은 모든 빌드를 서버 인스턴스에서 한번에 빌드하고, 매 번 새로 빌드한다는 문제점이 있었습니다.
  • Frontend 빌드는 빌드 파일만 필요하기 때문에 별도 runner에서 빌드 후 Artifact를 사용해 서버 인스턴스로 전달하도록 수정했습니다.
  • Backend 빌드 과정은 서버 인스턴스에서 직접 수행해 빌드 캐시를 사용해 시간을 단축할 수 있도록 수정했습니다.
  • NginX 이미지는 매 번 빌드하지 않고 변경된 dist 디렉토리와 default.conf 파일만 마운트할 수 있도록 수정했습니다.
  • 개선을 통해 배포 시간을 약 12분 40초에서 최소 약 7분, 최대 약 2분 40초로 단축했습니다.

🙏 질문 사항

  • 리뷰어에게 부탁하고싶은 체크리스트를 추가합니다.

📷 스크린샷 (선택)

  • UI 변경이 있는 경우 스크린샷이나 GIF를 첨부합니다.

✅ 작성자 체크리스트

  • Self-review: 코드가 스스로 검토됨
  • Unit tests 추가 또는 수정
  • 로컬에서 모든 기능이 정상 작동함
  • 린터 및 포맷터로 코드 정리됨
  • 의존성 업데이트 확인
  • 문서 업데이트 또는 주석 추가 (필요 시)

@minjungw00 minjungw00 self-assigned this May 6, 2025
@minjungw00 minjungw00 added Refactor refactor codes BE Back End labels May 6, 2025
@Ludovico7 Ludovico7 self-requested a review May 8, 2025 13:04
Copy link
Collaborator

@hyonun321 hyonun321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

설명 잘 들었습니다!

Copy link
Member

@pipisebastian pipisebastian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다!

Copy link
Collaborator

@Ludovico7 Ludovico7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

@github-actions github-actions bot merged commit dab51a9 into dev May 8, 2025
10 checks passed
@Ludovico7 Ludovico7 requested a review from eora21 May 8, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BE Back End Refactor refactor codes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants