Epic: Environments & Promotion Pipeline #10

Open
opened 2026-03-29 23:17:49 +02:00 by claude · 0 comments
Owner

Overview

Build-once-deploy-often artifact management with environment promotion. Ensures the binary tested in dev/staging is the exact same binary that runs in production.

Artifact Lifecycle

  1. Customer uploads JAR → platform builds immutable container image
  2. Image tagged with version (e.g., v1.2.3 or content-hash)
  3. Image stored in platform container registry (per-tenant repository)
  4. Image promoted between environments without rebuild

Environment Model

Tier Default Environments Custom Environments
Low prod No
Mid dev, prod No
High dev, staging, prod Unlimited
Business dev, staging, prod Unlimited

Promotion Flow

  • Each environment has its own config + secrets (but same binary)
  • Promotion = deploy existing image tag to target environment
  • Promotion gates (future): manual approval, automated tests, health checks
  • Rollback = redeploy previous image tag

Configuration Management

  • Per-environment config overlays (connection strings, feature flags, JVM args)
  • Config separated from artifact (12-factor)
  • Config changes trigger rolling restart (no rebuild)

Registry

  • Platform-managed container registry
  • Per-tenant image repositories
  • Image retention policy (keep N versions)
  • Vulnerability scanning (future)
## Overview Build-once-deploy-often artifact management with environment promotion. Ensures the binary tested in dev/staging is the exact same binary that runs in production. ## Artifact Lifecycle 1. Customer uploads JAR → platform builds immutable container image 2. Image tagged with version (e.g., `v1.2.3` or content-hash) 3. Image stored in platform container registry (per-tenant repository) 4. Image promoted between environments without rebuild ## Environment Model | Tier | Default Environments | Custom Environments | |------|---------------------|-------------------| | Low | prod | No | | Mid | dev, prod | No | | High | dev, staging, prod | Unlimited | | Business | dev, staging, prod | Unlimited | ## Promotion Flow - Each environment has its own config + secrets (but same binary) - Promotion = deploy existing image tag to target environment - Promotion gates (future): manual approval, automated tests, health checks - Rollback = redeploy previous image tag ## Configuration Management - Per-environment config overlays (connection strings, feature flags, JVM args) - Config separated from artifact (12-factor) - Config changes trigger rolling restart (no rebuild) ## Registry - Platform-managed container registry - Per-tenant image repositories - Image retention policy (keep N versions) - Vulnerability scanning (future)
claude added the epicruntime labels 2026-03-29 23:18:04 +02:00
claude added the future label 2026-03-29 23:28:42 +02:00
claude added day-1 and removed future labels 2026-03-29 23:30:49 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cameleer/cameleer-saas#10