Updating CityLens
Updating CityLens Routes UI
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
citylenscomponent (see CityLens releases). - Versions of
core,api-platform, andprocomponents required to install the new CityLens version (see the Dependencies subsection in the CityLens releases description).
- New version of the
-
For more settings, see DGCLI command-line arguments.
-
-
Copy the path to a new manifest file from the command output and set it as a value to the
dgctlStorage.manifestparameter in thevalues-citylens-ui.yamlconfiguration file. For more information, see the installation guide.Important
If during a regular update of the CityLens service you do not want to import new data, use the same manifest as in the previous import. In other cases, using a new manifest is recommended.
-
Check out breaking changes. If necessary, update other settings in the
values-citylens-ui.yamlconfiguration file. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-citylens-ui.yaml citylens 2gis-on-premise/citylensIn the
--versionparameter, set the newcitylenscomponent version that you specified in the DGCLI configuration file.
Updating CityLens API and CityLens Routes API
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
citylenscomponent (see CityLens releases). - Versions of
core,api-platform, andprocomponents required to install the new CityLens version (see the Dependencies subsection in the CityLens releases description).
- New version of the
-
Run the fetch command. Additionally you can specify the following flags:
- To update only the service image, add the
--only-appsflag after thepullcommand. - To update only data, add the
--only-dataflag after thepullcommand. - To update both service and data, run the command without the above flags.
For more settings, see DGCLI command-line arguments.
- To update only the service image, add the
-
-
Copy the path to a new manifest file from the command output and set it as a value to the
dgctlStorage.manifestparameter in thevalues-citylens-api.yamlconfiguration file. For more information, see the installation guide.Important
If during a regular update of the CityLens service you do not want to import new data, use the same manifest as in the previous import. In other cases, using a new manifest is recommended.
-
Check out breaking changes. If necessary, update other settings in the
values-citylens-api.yamlconfiguration file. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-citylens-api.yaml citylens 2gis-on-premise/citylensIn the
--versionparameter, set thecitylenscomponent version:- To update only the service or both service and data, use the new version that you specified in the DGCLI configuration file.
- To update only data, set the currently installed version.