Skip to content

Uninstall TestGen

This document provides the steps to uninstall an instance of DataOps Data Quality TestGen. The uninstall process deletes all TestGen resources and data from your machine.

  • Docker mode — removes the containers, volumes, and images related to TestGen.
  • Pip mode — removes the Python environment, dependencies, and data directories related to TestGen.

Tip

To upgrade an instance of TestGen without losing any data, see Upgrade TestGen.

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 uninstall 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 8 for Uninstall 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. Navigate to the directory used for the TestGen installation. This folder should contain the dk-tg-install.json marker file and the docker-compose.yml file for Docker installs.

  2. Download the latest version of dk-installer.

    curl -o dk-installer.py 'https://raw.githubusercontent.com/DataKitchen/data-observability-installer/main/dk-installer.py'
    

  3. Run the delete command.

    python3 dk-installer.py tg delete