Upgrade TestGen¶
This document provides the steps to upgrade an instance of DataOps Data Quality TestGen to the latest released version.
For a list of recent releases, see TestGen Release Notes. New releases of open-source TestGen are also announced on the #releases channel on Data Observability Slack.
Using dk-installer.exe on Windows¶
The instance must have been installed using dk-installer.exe, as outlined in Install on Windows.
- Download the latest version of dk-installer.exe.
- Run the upgrade option.
- From your Downloads folder, double-click the dk-installer.exe file to start the program.
- If a Windows protected your PC screen is displayed, click the More info link, and then click Run anyway.
- In the Choose a Product menu, type 1 for TestGen and press Enter.
- In the TestGen Menu, type 3 for Upgrade TestGen and press Enter.
Using dk-installer on Mac/Linux¶
The instance must have been installed using dk-installer, as outlined in Install on Mac/Linux or Install Enterprise.
- In the TestGen UI, check the Profiling Runs and Test Runs pages to ensure there are no actively running processes.
-
Navigate to the directory used for the TestGen installation. This folder should contain the
dk-tg-install.jsonmarker file and thedocker-compose.ymlfile for Docker installs. -
Enterprise Login to Docker with the credentials provided by your DataKitchen representative.
-
Download the latest version of dk-installer.
-
Run the upgrade command.
Using Helm on Kubernetes Enterprise¶
The instance must have been installed with Helm, as outlined in Install on Kubernetes.
-
In the TestGen UI, check the Profiling Runs and Test Runs pages to ensure there are no actively running processes.
-
Refresh the DataKitchen Helm repository, so that the latest chart is available.
-
In the
values-tg-app.yamlfile used for the installation, set the version to upgrade to. -
Run the upgrade. The chart applies the database migrations as a post-upgrade job and replaces the pod with one running the new image.
-
Confirm that the pod has been replaced and is running.