Skip to content

ci: gitops 레포 PR 검증 워크플로우 추가 - #10

Merged
developowl merged 1 commit into
mainfrom
ci/validate-manifests
Nov 25, 2026
Merged

developowl merged 1 commit into
mainfrom
ci/validate-manifests

Conversation

@developowl

Copy link
Copy Markdown
Member

관련 Issue

Refs #9

관련 ADR

변경 내용

  • .github/workflows/validate.yml 추가 (PR에서 apps/, bootstrap/, platform/, tenants/ 변경 시 실행)
    • kubeconform v0.7.0: -strict, Kubernetes 1.33.0 스키마, ArgoCD 등 CRD는 datree CRDs-catalog 스키마 사용
    • Helm values 파일(bootstrap/argocd/, values*.yaml)은 매니페스트가 아니라 제외
    • helm lint: Chart.yaml이 있을 때만 실행 (현재는 건너뜀)

검증

  • 워크플로우 YAML 문법 확인
  • 이 PR 자체에서 워크플로우가 실행되어 기존 매니페스트(root, sample-nginx) 통과 확인
  • 민감 정보 미포함

병합 후 권장

  • Settings → Branches → main 보호 규칙에 kubeconform 체크를 필수(Required)로 지정하면, 검증 실패 PR은 병합할 수 없음

Generated by Claude Code

PR마다 kubeconform으로 매니페스트를 Kubernetes 스키마(ArgoCD CRD 포함)에
맞춰 검증하고, 차트가 있으면 helm lint를 실행한다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ws9Xo8JS1c9scfrMUcVYrD

@developowl developowl left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@developowl
developowl merged commit f9634b9 into main Nov 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant