Component ยท Shared or other
Choreo Cloud environment: stage
CHOREO CLOUD Environment Choreo Cloud service
What it is
Stage is the pre-production environment of the older v1 family. It runs on AWS in us-east-2 and takes promotions from dev. It is not customer facing. Its cloud-cp cluster also runs the CI/CD system that serves every environment. The newer stage-v2 environment has its own entry.
Stage is the dress rehearsal in the real theatre, with everything but the paying audience.
Why it exists
Production should only get changes that have already run somewhere close to production. Stage is that place for the v1 family, and hotfixes must be deployed and checked here before they go to prod.
How it works
- manual-promote-environment moves stage's pin from a commit of main, using the commit from a PROMOTABLE release candidate.
- manual-deploy-hotfix moves the pin to a hotfix-manifests commit. The pin is a commit and can name a hotfix branch.
- Argo Events and the ClusterWorkflows run on stage's cloud-cp in the namespace cicd. They follow main, not the stage pin.
- Stage has cloud-scaler jobs that can suspend it off hours. The switch is the Flux variable disable_cluster_suspension, set in each cluster's layer-0 file on the stage branch. At the time of writing that branch has it set to true, which turns the scheduled suspension off. A pull request on the stage branch can change it.
- The stage branch also carries a disaster recovery set of clusters. This write-up covers stage only.
Key facts
- Customer facing
- No
- Branch
- stage
- OpenChoreo environment
- stage
- Base domain
- a stg subdomain of the Choreo Cloud domain (wso2.com family)
- Infrastructure
- AWS us-east-2
- Also hosts
- the CI/CD system for all environments
- Namespace
- stage
Talks to (2)
- depends on Env pin: base.yaml GitRepository ref env branch holds its own release pointer
- deploys to Choreo Cloud environment: prod stage to prod promotionmanual-promote-environment
Used by (1)
- deployed by Choreo Cloud environment: dev dev to stage promotion with a PROMOTABLE commitmanual-promote-environment