Skip to content

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.

  1. Download the latest version of dk-installer.exe.
  2. Run the upgrade option.
    1. From your Downloads folder, double-click the dk-installer.exe file to start the program.
    2. If a Windows protected your PC screen is displayed, click the More info link, and then click Run anyway.
    3. In the Choose a Product menu, type 1 for TestGen and press Enter.
    4. In the TestGen Menu, type 2 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.

  1. In the TestGen UI, check the Profiling Runs and Test Runs pages to ensure there are no actively running processes.
  2. Navigate to the directory that was used for the TestGen installation. It should contain the docker-compose.yml file.

  3. Enterprise Login to Docker with the credentials provided by your DataKitchen representative.

    docker login -u <username> -p <password>
    
  4. Download the latest version of dk-installer.

    curl -o dk-installer.py 'https://raw.githubusercontent.com/DataKitchen/data-observability-installer/main/dk-installer.py'
    
  5. Run the upgrade command.

    python3 dk-installer.py tg upgrade