Skip to content

Commit

Permalink
closes #89
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-geller committed Feb 19, 2024
1 parent 22cb1de commit 8eb6956
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
10 changes: 5 additions & 5 deletions src/main/java/io/kestra/plugin/dbt/cli/DbtCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@
my_dbt_project:
outputs:
dev:
type: duckdb
path: ":memory:"
fixed_retries: 1
threads: 16
timeout_seconds: 300
type: duckdb
path: ":memory:"
fixed_retries: 1
threads: 16
timeout_seconds: 300
target: dev"""
)
}
Expand Down
16 changes: 7 additions & 9 deletions src/main/java/io/kestra/plugin/dbt/cli/Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,28 @@
full = true,
title = "Invoke dbt `test` command.",
code = """
namespace: io.kestra.tests
id: dbt-test
id: dbt_test
namespace: dev
tasks:
- id: working-directory
- id: wdir
type: io.kestra.core.tasks.flows.WorkingDirectory
tasks:
- id: cloneRepository
- id: clone_repository
type: io.kestra.plugin.git.Clone
url: https://github.com/kestra-io/dbt-demo
url: https://github.com/kestra-io/dbt-example
branch: main
- id: dbt-test
- id: dbt_test
type: io.kestra.plugin.dbt.cli.Test
runner: DOCKER
dbtPath: /usr/local/bin/dbt
docker:
image: ghcr.io/kestra-io/dbt-duckdb
profiles: |
jaffle_shop:
my_dbt_project:
outputs:
dev:
type: duckdb
path: ':memory:'
extensions:
- parquet
target: dev
"""
)
Expand Down

0 comments on commit 8eb6956

Please sign in to comment.