Updating to the latest version¶
Updating an already running system can be performed in one of two ways.
Pull from latest tag¶
The preferred method would be to pull the latest version tag from the
mdm-docker repository and then rebuild the mauro-data-mapper service. However this may be hard if multiple changes have been made to the docker-compose.yml
and you are not familiar enough with git to handle stashing and merging.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Update script¶
The alternative method is to use the update command script and pass in the new versions you want to update to. The downside with this method is if we have made any changes to the Dockerfiles or base versions you will not have them.
1 2 3 |
|
This will rebuild just the Mauro Data Mapper image with the latest version.
Database migrations¶
Occasionally, database migrations are required when updating to a new version. These run automatically when the application restarts, making use of the Flyway versioning system. No manual steps are required from the user.