Skip to content

Commit

Permalink
How to configure the target path directory that artifacts are written…
Browse files Browse the repository at this point in the history
… to (#4921)

[Preview](https://docs-getdbt-com-git-dbeatty-configure-target-pa-9666cf-dbt-labs.vercel.app/reference/artifacts/dbt-artifacts#where-are-artifacts-produced)

## What are you changing in this pull request and why?

It wasn't clear where artifacts are written to or how to configure it.
So this PR addresses both of those needs.

## Checklist
- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
so my content adheres to these guidelines.
  • Loading branch information
mirnawong1 authored Feb 15, 2024
2 parents a80b0a8 + c81df56 commit 0913057
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions website/docs/reference/artifacts/dbt-artifacts.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,19 @@ They could also be used to:

dbt has produced artifacts since the release of dbt-docs in v0.11.0. Starting in dbt v0.19.0, we are committing to a stable and sustainable way of versioning, documenting, and validating dbt artifacts.

## When are artifacts produced?
### When are artifacts produced? <Lifecycle status="team,enterprise"/>

Most dbt commands (and corresponding RPC methods) produce artifacts:
- [semantic manifest](/docs/dbt-cloud-apis/sl-manifest): Lives in the `/target` directory of your dbt project and stores various artifacts (such as compiled models and tests) generated during the execution of your project.
- [semantic manifest](/docs/dbt-cloud-apis/sl-manifest): produced whenever your dbt project is parsed
- [manifest](/reference/artifacts/manifest-json): produced by commands that read and understand your project
- [run results](/reference/artifacts/run-results-json): produced by commands that run, compile, or catalog nodes in your DAG
- [catalog](catalog-json): produced by `docs generate`
- [sources](/reference/artifacts/sources-json): produced by `source freshness`

## Where are artifacts produced?

By default, artifacts are written to the `/target` directory of your dbt project. You can configure the location using the [`target-path`](/reference/project-configs/target-path#configuration).

## Common metadata

All artifacts produced by dbt include a `metadata` dictionary with these properties:
Expand Down

0 comments on commit 0913057

Please sign in to comment.