Scan Launcher is a simple python CLI tool to start the soda core scan jobs configured in Soda Cloud.
The launcher is intended to be used by Soda Agent's orchestrator via Docker image. The CLI tool provides one command start.
Before the command is started, make sure that following environment variables are set:
If any one of the above is not set, the launcher will exit with code 1. Also, if you set any env variables with a prefix SA_ they will be passed to the
soda core scan command. So if you want to pass POSTGRES_USERNAME make sure you set SA_POSTGRES_USERNAME.
This is a typical python module, with all the sources in src and the setup.py contains the dependencies needed. To install the development tools,
install dev-requirements using pip install -r dev-requirements.txt. If you modify the dev-requirements.in, you can generate an updated version using
pip-compile dev-requirements.in. Make sure that you stage/commit both files.
The version of the package is meant to be same as the soda-core modules, so please make sure that they are in sync. And do not modify the versions manually
use the tbump tool, that will make the necessary changes to the versions, tags the code and pushes to github.
Content type
Image
Digest
sha256:60a2a6602…
Size
454.6 MB
Last updated
over 1 year ago
docker pull sodadata/soda-scan-launcher