Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: run dbt in batches #158

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
6 changes: 3 additions & 3 deletions dbt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3 AS testing

RUN pip install flake8

RUN flake8 dbt-run.py
RUN flake8 dbt_run.py

FROM python:3 AS release

Expand All @@ -14,10 +14,10 @@ RUN adduser dbt
USER dbt

WORKDIR /dbt/
COPY dbt-run.py dbt-run.py
COPY dbt_run.py dbt_run.py
COPY .dbt .dbt
COPY dbt_project.yml dbt_project.yml

RUN mkdir old_manifest

CMD ["python3", "/dbt/dbt-run.py"]
CMD ["python3", "/dbt/dbt_run.py"]
142 changes: 0 additions & 142 deletions dbt/dbt-run.py

This file was deleted.

3 changes: 3 additions & 0 deletions dbt/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ target-path: "target"
clean-targets: ["target", "dbt_modules"]
macro-paths: ["macros"]
log-path: "logs"
vars:
start_timestamp: null
batch_size: null
Loading
Loading