Knowledge
Search knowledge... ⌘K
Knowledge · Guidelines · docker
Environment Promotion
How to promote changes through dev → stage → prod environments
Metadata
docker docker recommended
Procedures
Showing 3 of 5
- 1 Validate in dev environment
All changes must pass dev environment validation: unit tests, integration tests, build
go test ./... make run curl http://localhost:5010/api/health
- 2 Promote to stage via deployment pipeline
Use GitHub Actions CI/CD to build and deploy to stage environment
git push origin main # triggers GitHub Actions # Actions builds container → pushes to GHCR → Dokploy deploys to stage VPS
- 3 Run stage validation
Execute e2e tests and smoke tests against stage environment
# Quality gates: 100% e2e + smoke tests pass, performance within 1.2x baseline curl https://stage.shredbx.com/api/health
Tools
- GitHub Actions
- Dokploy
- Umami Analytics