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

[CI/CD] 원할한 배포를 위한 Github Actions Workflow 수정 및 변경 #323

Merged
merged 8 commits into from
Dec 11, 2024

Conversation

yudonggeun
Copy link
Contributor

변경사항을 배포하는 과정이 복잡하기 때문에 이를 개선하기 위한 워크 플로우를 수정합니다.

📝작업 내용

  • 쉬운 롤백을 위한 수동 workflow 추가
  • 통합 배포가 아니라 개발한 서비스를 분리하여 배포 가능하도록 수정
  • 커밋 id를 통해서 배포하도록 구성하여 다른 브랜치라도 배포가 가능

변경 파일

  • ci.yml 삭제
  • ci/server.yml workflow 추가
  • ci/user.yml workflow 추가
  • ci/auth.yml workflow 추가
  • ci/front.yml workflow 추가

main push 시에 자동 배포되는 구성을 수동으로 배포하도록 변경하였습니다. 따라서 롤백이 가능하도록 변경하였습니다.

💬리뷰 요구사항

  • 오류 사항이 있는지 살펴봐주세요.
  • 배포시에 다른 요구사항이 있다면 의견을 주세요.
  • 프론트 배포 설정이 잘 되었는지 살펴봐 주세요. front/Dockerfile 을 기반으로 구성하였습니다.

- server microservice를 위한 배포 잡을 분리합니다.
- 특정 버전으로 롤백할 수 있도록 지원합니다.
- 자동으로 실행되지 않고 수동으로 실행합니다.
- user microservice를 위한 배포 잡을 분리합니다.
- 특정 버전으로 롤백할 수 있도록 지원합니다.
- 자동으로 실행되지 않고 수동으로 실행합니다.
- auth microservice를 위한 배포 잡을 분리합니다.
- 특정 버전으로 롤백할 수 있도록 지원합니다.
- 자동으로 실행되지 않고 수동으로 실행합니다.
CI 작업 이후 배포 이미지 버전 명시 오류 수정
컨테이너 이미지 갱신시 user 서비스만 갱신되도록 변경
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
environment 배포 기능
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant