-
Notifications
You must be signed in to change notification settings - Fork 18
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
How to execute meltano prod runs with dagster? #44
Comments
Trying with using
gives same error |
Seems to me this could be fixed by chaning the dagster name here Just remove everything that is not in the regex |
This could either be fixed here: dagster-meltano/dagster_meltano/utils.py Lines 15 to 19 in 1b3022c
By also replacing the = .
But it might be easier to set the |
Would you like me to fix it, test it, and send a MR? (might first be done tomorrow). |
Would be great! I will see the PR appear. |
Draft here: #45 I know you can add custom github urls (i.e my fork to test) to a package like so:
But I I am not sure where to switch out the main package dagster-meltano with a custom git url |
Okay after this is merged #47 it sadly does not work yet.
When dagster-meltano runs, it will execute: Correct syntax is |
You should use the |
Thanks Jules but I don't see how to use |
For example, we deploy Meltano using a Docker container. In the Docker container we set:
That way we run meltano in production in our production environment. |
Thanks for your specific example @JulesHuisman I appreciate that. I found one kinda-working-solution. If you run: I wouldn't mark this as closed, at least for my case. Possible solutions for me, could be an meltano-dagster operator that also accepts env as input, i.e something like:
But I am not sure it is the direction to go. |
I am really sorry about me spamming this repo. I see a huge potential in it and I am already quite invested.
I've been running into a problem, I am interested if someone already solved it.
You can easily make a job run in dagster with the repo and putting this in the
meltano.yml
:However, if you need to run this in prod, you should add the flag
--environment=prod
, so:But running
meltano invoke dagster:start
Results in an error:
dagster._core.errors.DagsterInvalidDefinitionError: "__environment=prod__tap_spreadsheets_anywhere_target_duckdb" is not a valid name in Dagster. Names must be in regex ^[A-Za-z0-9_]+$
Any ideas?
The text was updated successfully, but these errors were encountered: