Skip to content

Commit

Permalink
Add dbt-artifacts utility (#1478)
Browse files Browse the repository at this point in the history
Co-authored-by: Pat Nadolny <[email protected]>
  • Loading branch information
ReubenFrankel and pnadolny13 authored Aug 16, 2023
1 parent f160210 commit feca8e7
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions _data/default_variants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ utilities:
cron: meltano
dagster: quantile-development
datahub: datahub-project
dbt-artifacts: matatika
dbt-bigquery: dbt-labs
dbt-dry-run: autotraderuk
dbt-duckdb: jwills
Expand Down
47 changes: 47 additions & 0 deletions _data/meltano/utilities/dbt-artifacts/matatika.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
commands:
convert-matatika:
args: convert --format matatika
description: Convert artifacts to Matatika datasets.
executable: artifacts_extension
convert-mermaid:
args: convert --format mermaid
description: Convert artifacts to Mermaid entity-relationship diagrams.
executable: artifacts_extension
definition: |
is a tool for processing [dbt artifacts](https://docs.getdbt.com/reference/artifacts/dbt-artifacts), such as to generate model lineage in diagram-as-code files.
> **WARNING:** This extension is currently in beta - if you run into any problems, [join the Matatika Slack community](https://join.slack.com/t/matatika/shared_invite/zt-19n1bfokx-F31DNitTpSxWCFO2aFlgxg) and ask for help in the `#troubleshooting` channel.
description: A tool for processing dbt artifacts.
executable: dbt-artifacts_extension
ext_repo: https://github.com/Matatika/dbt-artifacts-ext
keywords:
- dbt
- artifacts
- manifest
- catalog
- mermaid
- matatika
label: dbt Artifacts
logo_url: /assets/logos/utilities/dbt.png
maintenance_status: beta
name: dbt-artifacts
namespace: dbt_artifacts
pip_url: git+https://github.com/Matatika/dbt-artifacts-ext.git
repo: https://github.com/Matatika/dbt-artifacts-ext
settings:
- description: Source directory for the dbt artifact files.
label: Source directory
name: source_dir
value: .meltano/transformers/dbt/target
- description: Output directory for processed artifacts.
label: Output directory
name: output_dir
value: output
- description: The dbt resource types to process (`source`, `model`, `snapshot`, `test`, or `all`).
kind: array
label: Resource types
name: resource_types
value:
- all
usage: For help, try `meltano invoke dbt-artifacts --help` (or `--help` on any subcommand).
variant: matatika

0 comments on commit feca8e7

Please sign in to comment.