This repository uses a structured, version-based deployment system (
v10,v11) across multiple environments:dev,qa,rc, andprod.
Each environment is triggered automatically based on branch patterns and workflow logic.
v10,v11→ Main version branchesrelease/v10.x.x,release/v11.x.x→ Feature/bugfix integration brancheshotfix/v10.x.x,hotfix/v11.x.x→ For urgent production fixesfeature/...→ Optional; features are typically integrated intorelease/*branches
Best used for planned feature development.
-
Developers work on shared integration branches:
release/v10.x.xorrelease/v11.x.x -
On push, the
devworkflow is triggered and deployed to:
v10-devorv11-dev -
Once stable, a pull request is opened to
v10orv11, theqaworkflow is triggered and deployed to:
v10-qaorv11-qa -
After QA validation, the PR is merged into the base branch (
v10orv11). -
This triggers deployment to the RC environment:
v10-rcorv11-rc -
Once RC validation is complete, a release tag (
v10.x.xorv11.x.x) is created to deploy to production.
Used for emergency fixes in production.
-
Create a branch:
hotfix/v10.x.xorhotfix/v11.x.xfromv10orv11 -
After development, open a PR to
v10orv11 -
On merge, the
rcworkflow is triggered:
v10-rcorv11-rc -
If the patch is valid, create a release tag to deploy to production.
| Environment | Trigger Condition |
|---|---|
dev |
Push to release/v10** or release/v11** |
qa |
Pull request to v10 or v11 from release/v10** or release/v11**, and approved |
rc |
Push to v10 or v11 from hotfix/* or release/* |
prod |
Push of a tag starting with v10. or v11. |
A production deployment is triggered only by pushing a version tag:
git tag v10.5.0
git push origin v10.5.0