michel_ebner
12/21/2022, 3:44 PMjules_huisman
12/21/2022, 5:01 PMFROM python:3.10-slim
ENV MELTANO_PROJECT_ROOT=/opt/dagster/app
ENV PATH="/root/.local/bin:${PATH}"
WORKDIR /opt/dagster/app
RUN apt-get update && \
apt-get install -y build-essential git nano && \
rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
RUN pip install pipx==1.1.0
RUN pipx install meltano[azure]==2.12.0
RUN pip install --no-cache-dir --upgrade \
dagster-postgres==0.16.* \
dagster-docker==0.16.* \
dagster-k8s==0.16.* \
dagster-ext
COPY ./meltano.yml ./meltano.yml
RUN meltano install loaders
RUN meltano install utilities
COPY ./taps ./taps
RUN meltano install extractors
COPY . .
CMD ["dagster", "api", "grpc", "-h", "0.0.0.0", "-p", "4000", "-f", "orchestrate/dagster/repository.py"]
michel_ebner
12/21/2022, 5:20 PMjules_huisman
12/21/2022, 5:26 PMpipx install meltano
.
The dagster-ext
does the translation from your Meltano jobs to the Dagster jobs.
This Dockerfile represents one of the User Code Deployments
in the following image: https://docs.dagster.io/deployment/guides/kubernetes/deploying-with-helm#deployment-architecturemichel_ebner
12/22/2022, 10:12 AMjules_huisman
12/22/2022, 11:09 AMmichel_ebner
12/22/2022, 11:32 AMjules_huisman
12/22/2022, 12:05 PMmichel_ebner
12/22/2022, 1:26 PMmeltano invoke dagster api grpc -h 0.0.0.0 -p 4000 -f orchestrate/dagster/repository.py
(with meltano invoke before)
โข The readme in the repo may need to be adjusted. In the installation, you use "dagster-ext" but I think it is just meltano add utility dagster
jules_huisman
12/22/2022, 1:30 PMdagster_meltano
package, not the dagster-ext
. This will be more clear in the future when I separate these two concepts.
Completely right on the second point, I adjusted it.michel_ebner
12/22/2022, 1:33 PMjules_huisman
12/22/2022, 1:41 PMmichel_ebner
01/17/2023, 3:07 PMload_jobs_from_meltano_project
(second screenshot) I don't get anything even though the schedules are defined (third screenshot). Do I miss something in the schedules?jules_huisman
01/17/2023, 3:09 PMjules_huisman
01/17/2023, 3:10 PMmichel_ebner
01/17/2023, 3:11 PMjules_huisman
01/17/2023, 3:11 PMjules_huisman
01/17/2023, 3:56 PMmichel_ebner
01/18/2023, 9:27 AM