Skip to content

deploy: provision gated staging and development environments #2068

Description

@chrisbbreuer

Context

The current production deployment is the only provisioned deployment target and must remain mapped to main. Existing CI branch cases for stage, dev, and beta tags imply environments and credentials that are not currently provisioned. They are being removed from active push-to-deploy routing so an unconfigured branch cannot select a misleading or unsafe target.

This issue preserves the intended multi-environment capability as explicit follow-up work rather than silently deleting it.

Scope

  • Provision protected GitHub staging and development environments.
  • Define branch ownership (stage, dev, or successor names) and promotion policy.
  • Provision isolated ts-cloud accounts/projects, credentials, state, DNS, and rollback policy for each environment.
  • Extend the tested deployment-target resolver only after infrastructure exists.
  • Add smoke tests and retained deployment evidence per environment.

Acceptance criteria

  • Every non-production branch mapping names a provisioned GitHub environment and isolated ts-cloud target.
  • Required credentials and environment protection rules are documented and validated before deployment.
  • Resolver tests reject unknown branches and map each approved branch deterministically.
  • Push-to-deploy runs are retained and include rollback/smoke-test evidence.
  • Production remains main -> production throughout the rollout.

Related: #2060 and implementation PR #2064.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      📋 Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions