-
Notifications
You must be signed in to change notification settings - Fork 981
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
add new hub env var section #6059
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -0,0 +1,22 @@ | |||
If you're hosting an internal version of the [dbt Labs hosted package hub](https://hub.getdbt.com/), you can set the [`DBT_PACKAGE_HUB_URL`](https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/clients/registry.py#L23) environment variable to point to your instance of the dbt package hub. This allows you to install packages from your self-hosted version. |
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.
should i add this at the end: "This allows you to install packages from your self-hosted version and not the public hub version.."
website/docs/docs/build/packages.md
Outdated
@@ -94,7 +94,7 @@ Where possible, we recommend installing packages via dbt Hub, since this allows | |||
|
|||
In comparison, other package installation methods are unable to handle the duplicate dbt-utils package. | |||
|
|||
Advanced users can choose to host an internal version of the package hub based on [this repository](https://github.com/dbt-labs/hub.getdbt.com) and setting the `DBT_PACKAGE_HUB_URL` environment variable. | |||
Advanced users can choose to host an internal version of the package hub based on [this repository](https://github.com/dbt-labs/hub.getdbt.com) and set the `DBT_PACKAGE_HUB_URL` environment variable. Refer to [Using the `DBT_PACKAGE_HUB_URL` environment variable](#using-the-dbt_package_hub_url-environment-variable) for more information. |
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.
Hiya @mirnawong1
I'm not sure if it's something I'm doing but the link is working for me.
Kind Regards
Natalie
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.
oh shoot! great catch!
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.
Hiya @mirnawong1
This is a great PR! One for the links didn't work for me so I've noted that and I left a few non-blocking suggestions. I haven't approved this as of yet as I thought you might want @joellabes to review this first. Let me know if you'd like this approving or if there is anything else I can help with.
Kind Regards
Natalie
Co-authored-by: nataliefiann <[email protected]>
Co-authored-by: nataliefiann <[email protected]>
Co-authored-by: nataliefiann <[email protected]>
closingn pr as it's not needed and was addressed in https://github.com/dbt-labs/docs.getdbt.com/pull/5122/files |
this pr adds a new snippet to explain how to use the dbt_package_hub_url in dbt.
the snippet is used in the env var page and packages page.
Resolves #4991