-
Notifications
You must be signed in to change notification settings - Fork 0
Release development workflow
Dylan Rolfe edited this page May 3, 2018
·
23 revisions
- Create a new draft release for the next release in the health.gov.au releases.
-
Create a new branch for your feature, named
HT-101-short-desc
- Develop your feature or bug fix in that branch.
-
Commit into
HT-101-short-desc
with detailed commit message eg.[HT-101] - Something meaningful to describe the change
-
Apply the site building changes from the features to
healthdev
- Write deployment notes for site building changes into the Jira/Octane ticket. These should contain enough information that any other Drupal dev could deploy it.
- Write help documentation for admins and authors into the Jira/Octane ticket.
- Update release notes on the health.gov.au releases.
- At some point, decide on which features are ready to go into the release (need to work out a process for this)
-
Merge all the feature branches into the
develop
branch, deal with any conflicts. -
Create a release branch from the
develop
branch, labelledrelease-1.2.3
-
Clone
healthdev
tohealthrelease
using GovCMS sitefactory. Delete any previous release clones. -
Manage theme repository on
healthrelease
so it is using the new release branch. - Clear cache
- Engineers to test and review the site to make sure all the features merged correctly.
- Notify the testers that they can begin testing on https://healthrelease-site.govcms.gov.au/
-
Fix bugs found by testing and commit the fixes into the
release-1.2.3
branch.
-
Merge
release-1.2.3
intomaster
. - Compile the sass and JS using the production configuration and commit into master.
-
Create tag with the release label
v1.2.3
on themaster
branch. - Create a full backup of the production site which is needed for a rollback if deployment doesn't go to plan.
-
Clone live site to
health1x2x3
- Enable dual authoring notification on the live site (admin/appearance/settings/health_adminimal). Fill in the URL for the deployment environment.
- Notify content authors that the site is in dual authoring mode and that any content changes need to be made to both environments.
-
Manage theme repository on
health1x2x3
to point to the new release tagv1.2.3
- Clear cache
-
Manually deploy site building changes to
health1x2x3
, detailed in the Jira/Octane tickets. - Test the site is working correctly.
-
Make primary
health1x2x3
. - Notify product owner that the changes are live, include release notes.
- Disable dual authoring notification on the live site (admin/appearance/settings/health_adminimal).
- Notify content authors that content freeze is over.
If there are errors that cannot be resolved in the deployment window:
- Restore the site from the backup.
- Manage theme repository on live site to point to the stable release tag.
- Create GovCMS request to change the name of the live site to 'Australian Government Department of Health'.
- Publish the release on health.gov.au releases
- Update help documentation on the live site for admins and authors.
- Download and archive the production tarball (described in Production deployment step 4) and save to the dedicated TRIM folder.
- Delete the release branch.
- Delete the release clone.
- Delete the old production site (TBC)
-
Clone the production site into
healthdev-site
-
Merge
master
intodevelop
Workflow
Release notes
Components