Skip to content

Commit

Permalink
fix: avoid hardcoding the namespace in the defer example
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-geller committed Oct 28, 2024
1 parent 1007d53 commit b7393b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/io/kestra/plugin/dbt/cli/DbtCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
target: dev"""
),
@Example(
title = "Clone a [Git repository](https://github.com/kestra-io/dbt-example) and build dbt models in defer mode. The loadManifest property will fetch an existing manifest.json and use it for the defer build.",
title = "Clone a [Git repository](https://github.com/kestra-io/dbt-example) and build dbt models in defer mode. The `loadManifest` property will fetch an existing `manifest.json` and use it to run a subset of models or tests along with the `--defer` flag.",
full = true,
code = """
id: dbt_duckdb
Expand All @@ -199,10 +199,10 @@
containerImage: ghcr.io/kestra-io/dbt-duckdb:latest
loadManifest:
key: manifest.json
namespace: company.team
namespace: "{{ flow.namespace }}"
storeManifest:
key: manifest.json
namespace: company.team
namespace: "{{ flow.namespace }}"
commands:
- dbt build --defer --state ./target --target prod
Expand Down

0 comments on commit b7393b8

Please sign in to comment.