branching strategies#
Branch to env mapping#
- Env branch mapping
- gitlab flow
- oneflow (gitflow with one instead of two long-living branches)
branch -> env#
- prod -> prod
- mo -> mo
- qa -> qa
- master -> dev (feature branches are created from master)
- specific tagged commits can be deployed from master to any of the dev or qa envs
Env configs can be generated with a combination of env vars and other source-controlled files