Skip to content

docs: add CLAUDE.md with deploy-flow guidance#255

Open
ecv wants to merge 1 commit into
mainfrom
docs/claude-md-deploy-flow
Open

docs: add CLAUDE.md with deploy-flow guidance#255
ecv wants to merge 1 commit into
mainfrom
docs/claude-md-deploy-flow

Conversation

@ecv

@ecv ecv commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

What

Adds a CLAUDE.md documenting the staging-vs-prod deploy model plus common make targets.

Why

Non-obvious, easy-to-get-wrong fact (verified against datum-cloud/infra 2026-06-29):

  • Merging a PR to main → STAGING only. Staging OCIRepository tracks v0.0.0-main-* builds and auto-rolls every main build. Safe to merge.
  • Cutting a release tag (vX.Y.Z) → PROD, automatically. Prod image policy matches release semver tags (>= 0.0.0); Flux image-updater commits the bump to infra main, prod cluster reconciles in ~1–2 min. No further gate. The release tag is the prod deploy action, not the merge.

Review notes

  • Deploy facts verified from infra: prod cluster flux-system GitRepository tracks branch: main; prod datum-kustomize-bundles OCIRepository pinned v0.15.7 w/ image-updater (semver range >= 0.0.0); staging uses semverFilter '.*-main-.*'.
  • Draft — please confirm the deploy description matches your mental model before merge.

🤖 Generated with Claude Code

Document the staging-vs-prod deploy model so it's clear that merging to
main ships only to staging, while cutting a release tag (vX.Y.Z)
auto-deploys to prod via Flux image-updater in datum-cloud/infra. Also
record common make targets and the manifests/generate convention.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ecv ecv marked this pull request as ready for review June 30, 2026 02:02
@ecv ecv requested a review from a team as a code owner June 30, 2026 02:02
@ecv ecv requested review from felixwidjaja and scotwells June 30, 2026 02:02
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