Getting Started With DevOps Through Release Workflows
Est Reading Time: 3 min
Apr 10, 2020
We help a lot of teams with their development pipelines and have seen everything from mailing code updates around in emails to advanced gitflow strategies enabling automatic semantic versioning. Wanted to share some of the most common deployments we see and link up to some more indepth documentation for those of you that might need to optimize your flow for your current team. There are a few things to recommend before diving into the strategies:
Making all pull requests against a single “master” branch is an excellent strategy to quickly get up and running while reducing the cognitive overhead for developers and managers. This ease of use makes a single branch release strategy popular among open source developers and projects who have simple deployment needs.
This release strategy centers around a single master branch where all of the edits from the contributors is staged. Forks, branches, and direct commits all funnel into this primary branch and then the maintainers determine when to cut a new release and push it out to their end-users.
|Small to Medium Teams||
||Limited Capability for Hotfixes|
This strategy requires a minimum of a staging branch and a production branch. The staging branch acts as an area where all the upcoming changes in the next release are aggregated. Often times the changes loaded into staging are validated and shipped out to a production like environment where the team can manually test fixes and new features prior to deploying them to production.
|Medium to Large Organizations||
There are multiple strategies that teams use when they move into multi-environment deployments. The most common, standardized workflow is the Gitflow Workflow which was first published by Vincent Driessen at nvie. This is one git workflow that is designed to be a release strategy and provides the most flexibility in validating updates that are meant for production while still enabling hotfixes to go directly out if there is a large enough issue.
If you're looking for more branching strategies or deeper dives on the above workflows check these articles out:
Sign up today with instant, no-hassle setup. No credit card required!Sign Up Now
© 2020 Next Release, LLC. All rights reserved. Made with ❤ in Michigan.