-
Notifications
You must be signed in to change notification settings - Fork 2
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
💚 ci/cd: 배포 환경 구축 (#61) #62
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
☝️Issue Number
🔎 Key Changes
💌 To Reviewers
빌드 테스트 (CI) 는 develop, prod 브랜치 PR 생성시 실행됩니다.
예시 -> https://github.com/WaitherTeam/Waither-BE/actions/runs/9207208379
CI/CD 는 Prod 브랜치 push시 실행됩니다.
docker_init.sh : docker와 docker_compose가 설치되어있는지 확인하고, 설치되어 있지 않다면 설치합니다.
common.sh : Eureka, Config Service - 기본적으로 로직이 변경되지 않는 서비스들을 배포합니다. 이미 실행중이라면 다시 바꾸지 않습니다.
deploy.sh : Eureka, Config 를 제외한 나머지 서비스들을 배포합니다. 이미 컨테이너가 실행중이더라도 재실행합니다.
블루/그린 배포를 시도했지만 4 서비스 모두 블루/그린 하려다 보니 너무 복잡해져서 하지 않음
프록시 서버로 NGINX를 배치하려 했지만 apiGateway가 로드밸런서 역할을 하니 두지 않아도 되겠다고 판단