Releases
A release is always exciting because we will push new code online. Although we have already tested the release thoroughly, we have established some rules to quickly resolve any issues that may arise after a release.
Requirements
A release
- Can only be carried out in consultation with the consultant/support specialist or customer.
- Must be performed before 14:00 on working days.
- Should never be performed on a Friday.
- Must be tested after the release.
How to Prepare a Release
The following steps ensure that a release meets the requirements.
Consult with Your Colleague
Make sure you know exactly what issues or functionality should be included in the release. Discuss this with the responsible consultant or support specialist.
Merge to the Default Branch
Depending on whether the theme in question is a Mosaic Templates theme, make sure to always merge your branch to the default branch in GitLab with everything related to this release.
How to Release a Mosaic Templates Theme
After merging your branch into the default branch, the process differs slightly for Mosaic Templates themes. The following steps outline what to do after merging your branch into the develop branch.
- Merge
developintomaster. - Go to the latest pipeline as a result of the merge in step 1.
- Wait for all the jobs to finish running (except for the job
deploy to production). - Open the job
deploy to production. - Click on
Run job. - Optional: If the changes made include widget changes, copy them from test to production.
- Check the production environment when the job is done.
- Make sure to test if everything has been released as expected.
- Inform the consultant of the successful release.
How to Release a Regular Theme
After the previous preparations, you are ready to release. This part is straightforward.
- Merge the default branch (usually
develop) intomaster. (If the default branch ismaster, you can skip this step.) - Go to the project's pipelines.
- Select the
masterpipeline being run. - Select the
deploy master to productionjob. - Click on
Run job. - If the changes made include widget changes, copy them from test to production.
- Check the production environment when the job is done.
- Make sure to test the release.
- Inform the consultant of the successful release.