Updating Vortex
Vortex differs from other project templates: after the initial setup, you can update it to get the latest features and bug fixes without losing your project customizations.
Overview
Updating Vortex allows existing projects to benefit from:
- Security patches and bug fixes
- New features and workflow improvements
- Updated dependencies and tooling
- Enhanced deployment capabilities
After the update, review and commit the changes to your project to maintain version control and track what has changed.
We recommend updating Vortex monthly or at least quarterly to keep your project secure and up-to-date.
Before updating
Check the release notes for the latest version to understand what has changed and if there are any breaking changes that may affect your project.
Specifically check if any environment variables were added or changed.
Update process
-
Create a new branch for the update:
Create a new branch for the updategit checkout -b update-vortex
-
Run the update command:
Update to the latest versionahoy update-vortex
or update to a specific version or commit:
Update to a specific versionahoy update-vortex https://github.com/drevops/vortex.git@1.2.3
ahoy update-vortex https://github.com/drevops/vortex.git@abcd123 -
Review the changes made by the update and selectively add them.
It may be a good idea to commit changes in smaller chunks to make it easier to review and revert if necessary.
Note that
composer.json
would be most likely deviated from the Vortex version, so you may want to additionally review the changes to the package versions and dependencies. We recommend temporarily reverting changes tocomposer.json
andcomposer.lock
to preserve your project's version, and manually updating the packages versions in yourcomposer.json
.Review changesgit status
git diff -
Test the updated environment to ensure everything works as expected:
Test the updated environmentahoy build
-
Push to the remote repository, create a pull request, and observe the Continuous Integration run passing.
Push the update branchgit push origin update-vortex
-
Observe that once the Continuous Integration run passes, the site is successfully deployed to the preview or staging environment.
Thoroughly test the updated site in the preview or staging environment to ensure everything works as expected. -
Schedule release to production environment and make sure to leave enough time for spot-check testing and potential rollbacks.
Best Practices
- Regular Updates: Update Vortex monthly or when security patches are released
- Test Updates: Always test updates in development before applying to production
- Staged Rollout: Update development → staging → production environments
- Document Changes: Keep track of what changed and why
- Monitor After Update: Watch for issues in the days following an update
Getting Help
If you encounter issues during updates, see Support page.