Comments (2)
We don't include Git in the default Docker image for security reasons.
To use dbt debug
, you need to install git as a dependency e.g. using beforeCommands
:
beforeCommands:
- apt-get update && apt-get install -y git && apt-get clean
full flow:
id: dwh_and_analytics
namespace: tutorial
description: Data Warehouse and Analytics
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-demo
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
beforeCommands:
- apt-get update && apt-get install -y git && apt-get clean
commands:
- dbt debug
profiles: |
jaffle_shop:
outputs:
dev:
type: duckdb
path: dbt.duckdb
extensions:
- parquet
fixed_retries: 1
threads: 16
timeout_seconds: 300
target: dev
you can also build a custom image and add git within the image before/after installing dbt:
FROM python:3.11-slim
RUN apt-get update && apt-get install -y git && apt-get clean
from kestra.
FYI @paulgrainger85 I added git to all our default docker images as well (upon request from @tchiotludo)
from kestra.
Related Issues (20)
- Add a namespace column to the Flows tab in the Namespace page to account for child namespaces
- [Epic] Improve error handling
- [Epic] Handle issues that can make the application crash
- Ease flow dependancy declaration HOT 1
- Add Execution history to the Overview tab (e.g. as a Timeline view with states the Execution went through)
- [Epic] Capture outputs generated before a task run fails i.e. store Outputs before marking the task run as Failed
- [Epic] Improve plugin docs
- File Upload Endpoint for Kestra's Internal Storage HOT 1
- Add a lightweight kestra CLI
- Add a Supabase plugin HOT 2
- Ability to process incoming webhooks with large JSON payload HOT 3
- KV json validation
- Add a Concurrency tab on the Flow page allowing to see RUNNING and QUEUED executions
- Setting keystore value from Variables HOT 2
- Remove the disabled flag from the Flow source code — this should be API-only toggle/setting for the flow
- Vanilla instance serves Dashboard page instead of Welcome Page HOT 1
- Flaky tests
- Remove the generation of the latest-full tag
- Custom Blueprints page generates internal server error
- namespace files overwritten with code of a different namespace file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kestra.