-
Notifications
You must be signed in to change notification settings - Fork 8
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
Abstract run_in_docker to a utility function #103
Abstract run_in_docker to a utility function #103
Conversation
This will allow plugins to execute commands in docker during setup. We need this to reliably detect which dbt version a given project is using.
This is useful when we need to do something with the output from Docker programmatically.
No merge because I'm still testing the capture output stuff to make sure it doesn't break anything. Should be safe. |
This allows us to run commands in docker without outputting the command. Maybe a little shady, but makes for a slicker DX in some cases.
I've been running this change for a few days now without any issues. Should be good-to-go! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep that's what this does
a2c4fe6
into
palmetto:develop
Pull request checklist
Before submitting your PR, please review the following checklist:
palm test
)palm lint
) has passed locally and any fixes were made for failuresBreaking changes
What does this implement/fix? Explain your changes.
This will allow plugins to execute commands in docker during setup. We need this to reliably detect which dbt version a given project is using.
There is no functional change here, just a new abstraction to enable a change elsewhere.
Does this close any currently open issues?
Not directly, it's a step towards being able to resolve an open issue in palm-dbt
Where has this been tested?
MacOS + Docker v24
Tested with a dbt project using palm-dbt
Tested with a non-dbt project.