Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐳 CICD #2

Open
david-parkk opened this issue Jul 14, 2024 · 0 comments
Open

🐳 CICD #2

david-parkk opened this issue Jul 14, 2024 · 0 comments
Assignees

Comments

@david-parkk
Copy link
Member

david-parkk commented Jul 14, 2024

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에 부착됩니다.
@david-parkk david-parkk self-assigned this Jul 14, 2024
@david-parkk david-parkk changed the title CICD 🐳 CICD Jul 14, 2024
@david-parkk david-parkk mentioned this issue Jul 14, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant