Skip to content

Build a CI/CD pipeline stage for contract deploy promotion (testnet → mainnet) #57

Description

@chillwur

Summary

Contract deployment is currently a manual stellar contract deploy command per the README. Once the deployment-automation service exists, formalize how a contract version gets promoted from testnet to mainnet safely.

Description

Design a promotion gate: a contract build that's been running on testnet (via the deployment-automation service) for a defined soak period, with the hardened test suite green, before it's eligible for mainnet deployment.

Add a CI/CD workflow (manually triggered, not automatic) that builds the wasm, runs the full contract test suite, and deploys to the target network based on an explicit approval step — never auto-deploy to mainnet on merge.

Record deployed contract hashes/IDs per environment for auditability.

Deliverables

  • Manually-gated CI/CD workflow for contract promotion
  • Deployment record/audit log per environment

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: architectureCore system architecturearea: infraCI/CD, Docker, dev environmentlevel: advancedCore architecture, senior/experienced-engineer scopetype: infraTooling, CI, deployment plumbing

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions