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

feat: cd 작성 #22

Merged
merged 5 commits into from
Jul 30, 2024
Merged

feat: cd 작성 #22

merged 5 commits into from
Jul 30, 2024

Conversation

punchdrunkard
Copy link
Member

@punchdrunkard punchdrunkard commented Jul 29, 2024

요약

cd script 작성

작업 내용

Main에 푸시되면 github action 에 의해 repo의 dockerfile 이 빌드되어 dockerhub 에 이미지로 올라가고,
github action 이 ec2 서버에 접속하여 docker compose up 을 통해 spring container 와 nginx container 를 실행합니다.
이 때, ssh 포트를 다 여는건 찝찝해서... github action 의 ip 를 얻어와서 aws 보안그룹에 추가했다가, 작업이 완료되면 삭제되는 부분을 스크립트에 추가했습니다.

기타 (논의하고 싶은 부분)

pr 배포 확인 후에 해당 부분 삭제해서 다시 커밋할게요!

타 직군 전달 사항

close #21

@punchdrunkard punchdrunkard added the type: feat 새로운 기능 구현 label Jul 29, 2024
@punchdrunkard punchdrunkard requested a review from yueunfive July 29, 2024 14:31
@punchdrunkard punchdrunkard self-assigned this Jul 29, 2024
Copy link

github-actions bot commented Jul 29, 2024

Unit Test Results

4 tests   4 ✔️  1s ⏱️
3 suites  0 💤
3 files    0

Results for commit 03ca971.

♻️ This comment has been updated with latest results.

@punchdrunkard punchdrunkard merged commit 0630e9d into main Jul 30, 2024
3 checks passed
@punchdrunkard punchdrunkard deleted the feat/#21 branch July 30, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feat 새로운 기능 구현
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: CD 구현
2 participants