Skip to content

🐳 CICD #2

Description

@david-parkk

CICD 구현 내용

CI

  • CI는 PR 메세지를 생성하는 경우 workflow를 실행하게됩니다.
  • spring boot 와 mysql 간의 의존성을 검사하고, build test를 진행합니다.

CD

  • CD는 특정 커맨드 ("/아워메뉴","배포") 를 comment하는 경우에 workflow를 실행합니다.
  • main branch 기준으로 해당 branch의 내용을 빌드하여 docker image를 생성하여 docker hub에 push합니다.
  • 원격 서버에서 해당 docker image를 pull 하여 image를 docker-compose 환경에서 실행하게 됩니다.
  • 정상적으로 배포가 완료되었다면 완료 메세지와 자동배포 label이 해당 PR에 부착됩니다.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions