Hotfix Lifecycle
This process is triggered when there are showstopper bugs that need to be deployed to production before the next release. Generally, a Jira ticket will be created that describes the showstopper bug.
-
Create a new hotfix branch
git checkout master git pull --rebase git checkout -b release/0.8.16-hotfix1 git push -u origin release/0.8.16-hotfix1
-
Configure the openboxes-release linked respository to point to the new branch so that commits/merges to this branch will be compiled and deployed to the OBNAVSTAGE server automatically.
- Review the hotfix ticket OBPIH-1234
-
Create a new branch for your hotfix
git checkout release/0.8.16-hotfix1 git pull --rebase git checkout -b OBPIH-1234
-
Make changes to the code
- Test the changes locally
-
Commit the changes
git commit -m "OBPIH-1234 Describe the hotfix"
-
Push the changes upstream
git push -u origin OBPIH-1234
-
Create a pull request targetting the release/0.8.16-hotfix1 branch
- Code review
- Merge code to release/0.8.16-hotfix1
- Bamboo automatically builds and deploys the new version.
- Test the changes on OBNAVSTAGE
- Deploy to production