Allow DBT Deps Artifact URL To Be Configurable #9170
DustinMoriarty
started this conversation in
Ideas
Replies: 1 comment
-
It looks like maybe there is an environment variable for this. However, I don't see any documentation on it. Perhaps I could help to document this if someone can help to provide some insight about if this feature is intended to be supported long term and if there are some other technical details that I should be aware of. It looks to me like one could just provide the environment variable pointing to a different base URL and then host the index with all the tar file locations changed to local ones. Am I wrong? https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/clients/registry.py#L21 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Many companies have build systems which do not allow network traffic outside of the private network and instead rely on mirrors in private artifact repositories. Other package managers such as npm, pip and maven allow the source URL to be configured to point to a private mirror. This allows all of the same version resolution features to work and allows sub-dependencies to be resolved. However, DBT does not have a mature solution for enabling private mirrors. Once the solution is implemented by DBT, it will take some time for private repository providers (e.g. JFrog) to implement the standard on their side. However, they have done this for all other languages, so there is no reason to think they would not for DBT provided that the standard is reasonably easy to follow and well documented.
Alternatives
Examples of Dependency Management in Mature Package Management Systems
Requirements
Beta Was this translation helpful? Give feedback.
All reactions