-
Notifications
You must be signed in to change notification settings - Fork 0
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 #157] nginx 무중단 배포 설정 #161
Conversation
[DEPLOY] main <- develop 배포
- 주석별로 묶어서 정리했습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
스크립트 수정해주신 것 확인했습니다 감사합니다 :)
배포 설정 관련해서 궁금한 점이 있습니다. 기존처럼 배포 브랜치로 합병시키면 자동으로 배포되는 것인가요?
@RestController | ||
public class HelloController { | ||
|
||
@GetMapping("/hello") | ||
public String hello(){ | ||
return "hello success!"; | ||
} | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
해당 api는 헬스체크 용도인가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵 맞습니다!! health_check.sh
배포 스크립트에서 서버 실행하고나서 healthcheck
하는 용으로 사용하려고 만들어뒀습니다!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
배포 설정 관련해서 궁금한 점이 있습니다. 기존처럼 배포 브랜치로 합병시키면 자동으로 배포되는 것인가요?
네 맞아요!! 기존 배포 파이프라인에서 nginx 무중단 배포 설정만 추가된 거라서 동일하게 main
브랜치로 merge
하면 ci/cd가 돌아가게 됩니다!
📄 Work Description
⚙️ ISSUE
💬 To Reviewers
ec2 내부에서 jar 파일로 백그라운드 실행시켰을때는 잘 되는 것 확인했는데, 정확히는 배포해봐야 할 것 같습니다..!!
🔗 Reference
https://velog.io/@hwsa1004/Github-Action-AWS-CodeDeploy-NGINX-%EC%84%9C%EB%B2%84-%EB%AC%B4%EC%A4%91%EB%8B%A8-%EB%B0%B0%ED%8F%AC%ED%95%98%EA%B8%B0