sodadata / soda-sql

Soda SQL and Soda Spark have been deprecated and replaced by Soda Core. docs.soda.io/soda-core/overview.html
https://docs.soda.io/
Apache License 2.0
59 stars 16 forks source link

Provide a `--dbt-artifacts` CLI option for `soda ingest --tool dbt` #169

Closed bastienboutonnet closed 2 years ago

bastienboutonnet commented 2 years ago

As part of https://github.com/sodadata/soda-sql/issues/570 we have given the ability for users to ingest dbt tests into Soda Cloud.

The current implementation requires that users provide both a --dbt-manifest and --dbt-run-result path for the respective manifest.json and run_results.json files.

Given that these two files generally live under the same directory (unless users have configured their dbt project to do otherwise), it might be a good idea to provide a --dbt-artifacts (also spelled "artefact" depending on the variety of english we choose) that points to the folder above the two files. In a vanilla dbt setup it generally is dbt_project/target/

Screenshot 2021-12-13 at 13 03 08