The BookVerse platform uses automated promotion workflows to move artifacts through development stages: DEV → QA → STAGING → PROD. These workflows integrate with JFrog AppTrust for lifecycle management and validation.
The promotion system automatically:
-
Validates Artifacts
- Runs quality gates and security scans
- Verifies build requirements and tests
- Checks artifact integrity and signatures
-
Promotes Through Stages
- Moves successful artifacts from DEV to QA to STAGING to PROD
- Updates lifecycle stages in JFrog AppTrust
- Maintains promotion history and audit trails
-
Handles Failures
- Stops promotion on failed quality gates
- Provides rollback capabilities
- Sends notifications for failed promotions
- DEV: Development builds and initial testing
- QA: Quality assurance and automated testing
- STAGING: Pre-production validation and integration testing
- PROD: Production-ready releases
Automated Triggers:
- Successful CI/CD pipeline completion
- Passing quality gates and security scans
- Scheduled promotion windows
Manual Triggers:
- Developer-initiated promotions via GitHub Actions
- Emergency hotfix promotions
- Rollback operations
Each promotion stage includes validation:
- Code Quality: Linting, testing, coverage thresholds
- Security: Vulnerability scans, dependency checks
- Performance: Load testing, performance benchmarks
- Integration: API testing, service compatibility
Automatic Promotion: Most promotions happen automatically when CI/CD pipelines succeed and quality gates pass.
Manual Promotion:
- Go to GitHub Actions in the service repository
- Select "Promote" workflow
- Choose target stage (QA/STAGING/PROD)
- Monitor promotion progress
Rollback:
- Go to GitHub Actions
- Select "Rollback" workflow
- Choose target version to rollback to
- Confirm rollback operation
Promotion Status:
- Check GitHub Actions for promotion workflow status
- View JFrog AppTrust for lifecycle stage information
- Monitor service dashboards for deployment health
Troubleshooting:
- Review GitHub Actions logs for failed promotions
- Check quality gate results in CI/CD pipelines
- Verify JFrog AppTrust connectivity and permissions
- Test Thoroughly: Ensure comprehensive testing in lower stages
- Monitor Promotions: Watch for failed quality gates or deployment issues
- Plan Rollbacks: Have rollback procedures ready for production issues
- Document Changes: Maintain clear release notes and change logs
Note: Promotions to PROD require additional approvals and may have restricted time windows for safety.