Skip to content

Instantly share code, notes, and snippets.

@anna-geller
Created September 3, 2026 13:00
Show Gist options
  • Select an option

  • Save anna-geller/7533541f446b7e152d3076c15b5843e5 to your computer and use it in GitHub Desktop.

Select an option

Save anna-geller/7533541f446b7e152d3076c15b5843e5 to your computer and use it in GitHub Desktop.
Build dbt with DuckDB from a Kestra flow
id: dbt_build_duckdb
namespace: company.team
tasks:
- id: dbt
type: io.kestra.plugin.core.flow.WorkingDirectory
tasks:
- id: clone_repository
type: io.kestra.plugin.git.Clone
url: https://github.com/kestra-io/dbt-example
branch: main
- id: dbt_build
type: io.kestra.plugin.dbt.cli.DbtCLI
taskRunner:
type: io.kestra.plugin.scripts.runner.docker.Docker
containerImage: ghcr.io/kestra-io/dbt-duckdb:latest
commands:
- dbt deps
- dbt build
profiles: |
my_dbt_project:
outputs:
dev:
type: duckdb
path: ":memory:"
fixed_retries: 1
threads: 16
timeout_seconds: 300
target: dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment