3.1 CI/CD 전체 파이프라인 (초기 설계)

3.1 CI/CD 전체 파이프라인 (초기 설계) An architecture diagram generated by Archify. Developer · feature 브랜치 작업 · Architecture component Developer feature 브랜치 작업 GitHub · 저장소 · Architecture component GitHub 저장소 GitHub Actions · checkout · test · build · Architecture component · CI 1~6단계 GitHub Actions checkout · test · build CI 1~6단계 Telegram CI · 빌드 알림 · Architecture component Telegram CI 빌드 알림 GHCR · 컨테이너 이미지 · Architecture component GHCR 컨테이너 이미지 k8s/overlays/dev/ · Git 매니페스트 (이미지 태그) · Architecture component k8s/overlays/dev/ Git 매니페스트 (이미지 태그) ArgoCD · prd 클러스터에 설치 · Git watch · Architecture component ArgoCD prd 클러스터에 설치 · Git watch dev 클러스터 · 자동 sync · 클러스터 dev 클러스터 자동 sync prd 클러스터 · tag 기준 · 수동 sync 옵션 · 클러스터 prd 클러스터 tag 기준 · 수동 sync 옵션 Telegram CD · dev deployed · prd deployed · Architecture component Telegram CD dev deployed · prd deployed git push 6. 알림 4. push 5. 태그 갱신 Git commit 감지 kubectl apply kubectl apply 클러스터

GitHub Actions 단계

  • • 1. Checkout · 2. Run tests · 3. Build container
  • • 4. GHCR push · 5. k8s 매니페스트 이미지 태그 갱신
  • • 6. Telegram CI 알림

ArgoCD 동기화

  • • prd 클러스터의 ArgoCD가 Git을 감시하다 변경을 감지
  • • dev 클러스터: kubectl apply 후 Telegram CD 알림
  • • prd 클러스터: tag 기준, 수동 sync 옵션