- Status: accepted
What's the best way we can achieve a hybrid deployment strategy which would allow us to deploy to development and test environments automatically but let us control releases into the Staging and Production environment.
- Automation
- Governance
- Requires a different branching strategy, possibly having a release branch.
- Introduces an additional level of complexity and possibility of duplication in workflows
- Requires new workflow to orchestrate deployments to dedicated environments
- Gives us the flexibility to add/remove environments without having to create new workflows.
The decision has been made to add a new parent workflow which will allow us to use matrix deployments for dev/test environment but also include manual/optional jobs to deploy to staging and production environment.
Staging/Production will have additional rules configured in github to add approvals when manual releases are made to these environments.