-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 --host flag to docs serve #10228
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10228 +/- ##
==========================================
- Coverage 88.74% 88.73% -0.01%
==========================================
Files 180 180
Lines 22449 22451 +2
==========================================
Hits 19923 19923
- Misses 2526 2528 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
LGTM!
(cherry picked from commit c2d4643)
(cherry picked from commit c2d4643)
(cherry picked from commit c2d4643)
* add --host flag to docs serve (#10228) (cherry picked from commit c2d4643) * fix test_serve unit test --------- Co-authored-by: Michelle Ark <[email protected]> Co-authored-by: Michelle Ark <[email protected]> Co-authored-by: Quigley Malcolm <[email protected]>
* add --host flag to docs serve (#10228) (cherry picked from commit c2d4643) * fix test_serve unit test --------- Co-authored-by: Michelle Ark <[email protected]> Co-authored-by: Michelle Ark <[email protected]>
resolves #10229
Problem
As part of GHSA-pmrx-695r-4349, we explicitly set 127.0.0.1 as the default bind address for dbt docs serve. However, we did not provide the ability for users to be able to override / opt-out of the default, and the change in default caused reported breakages in user deployments (example: #10208 (comment)).
Solution
dbt docs serve binds to '127.0.0.1' by default, but is possible to override via a new --host flag.
Checklist
🎩