Skip to content

Define Deployment Profile v1 and the typed deployment-topology resolver #113

Closed

Description

@malon64

Target release: v0.3-alpha — Deployment Profiles, Stages, and Promotion
Priority: P0
Tracker: #111

Context

v0.3 needs one versioned, user-facing Deployment Profile that separates
provider and lifecycle stage while keeping Terraform, Helm, Kubernetes, and
physical resource identities behind olf and provider contracts.

The first schema stays deliberately small. Fields with no implemented,
testable provider mapping are deferred instead of becoming no-op promises.

Scope

  • Parse root openlakeforge.yaml as
    openlakeforge.io/v1alpha1 / DeploymentProfile.
  • Model:
    • metadata name;
    • provider type and optional high-level region;
    • slim/full preset;
    • canonical shared stages dev, optional uat, and prod;
    • stage-level analytics and governance capabilities.
  • Implement frozen typed value objects for desired profile data and a separate
    resolved DeploymentTopology.
  • Apply deterministic preset/default semantics without implicitly enabling a
    missing PROD stage.
  • Derive shared versus stage service multiplicity, logical stage identities,
    and provider-adapter inputs without deriving concrete endpoints in the
    desired profile model.
  • Validate unknown fields, schema versions, stage names, and illegal
    combinations with actionable fail-closed errors.
  • Add olf profile validate and olf profile resolve --json.
  • Keep olf deploy --provider local --profile slim|full as a deprecated
    shorthand resolving a single DEV-stage profile.
  • Update ADRs and documentation that conflate provider environment, lifecycle
    stage, profile preset, and runtime.

Frozen v1 exclusions

  • No runtime field while Trino is the only shared-stage runtime.
  • No personal workspace policy; workspaces moved to v0.4.
  • No platform/compute/storage sizing or availability field until providers
    implement and test measurable mappings.
  • No raw namespaces, replicas, resources, Helm values, Terraform
    modules/backends, IAM policies, credentials, images, PVCs, buckets, catalogs,
    or generated endpoints.

Acceptance criteria

  • A valid profile parses into typed desired data and one effective topology.
  • Provider and stage are distinct types throughout the resolver.
  • Capabilities exist only at stage level.
  • Missing PROD is disabled rather than provisioned implicitly.
  • Slim/Full defaults and explicit overrides are deterministic.
  • Unknown versions, fields, and illegal combinations fail closed.
  • Resolve output is stable and machine-readable.
  • Local, AWS, and Azure POC shapes can be represented without credentials.
  • The v0.2 single-stage CLI compatibility path is tested and documented.

Dependencies and sequencing

Activity

  1. self-assigned this
    on Aug 18, 2026
  2. added
    roadmap
    on Aug 18, 2026
  3. changed the title [-]Introduce typed provider, stage, runtime-profile, and workspace deployment contracts[/-] [+]Define Deployment Profile v1 and the typed deployment-topology resolver[/+] on Aug 19, 2026
  4. added
    priority: P0
    on Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: P0roadmap

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions