Skip to content

Conversation

@ysw789
Copy link
Member

@ysw789 ysw789 commented Feb 7, 2025

[infra] CI/CD 파이프라인 구축

Issue

#5

변경 내용

  • Dockerfile 작성
  • CI/CD 구현

구현 사항

  • CI/CD workflow 작성
  • CI workflow는 코드 통합(PR Merge) 이전에 오류를 검출하기 위함
  • Docker 이미지 빌드에 경량화 된 베이스 이미지를 사용해 용량 최적화 (약 200MB 감소)
  • 빌드 시 테스트 과정에서 dataSource 객체 생성 오류 발생; 테스트 환경에 h2 DB 의존성 추가

- 경량화 된 베이스 이미지 사용으로 이미지 용량 최적화
- 멀티 스테이지 빌드 수행
- 환경 변수로 값 주입되도록 구현
- 코드 통합 이전에 오류 검출을 위함
@ysw789 ysw789 added the INFRA label Feb 7, 2025
@ysw789 ysw789 requested review from dohy-eon and hodoon February 7, 2025 03:26
@ysw789 ysw789 self-assigned this Feb 7, 2025
@ysw789 ysw789 linked an issue Feb 7, 2025 that may be closed by this pull request
Copy link
Member

@dohy-eon dohy-eon left a comment

Choose a reason for hiding this comment

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

깃헙 액션 이렇게 설정하는거구나.. (처음봄)

@hodoon
Copy link
Collaborator

hodoon commented Feb 7, 2025

lgtm👍

@ysw789 ysw789 merged commit 87cf6d9 into dev Feb 7, 2025
1 check passed
@ysw789 ysw789 deleted the infra/#5-1 branch February 7, 2025 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[infra] CI/CD 파이프라인 구축

4 participants