-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default to current working directory for
profiles.yml
and fall back…
… to `~/.dbt` (#5717) * Method for capturing standard out during testing (rather than logs) * Allow dbt exit code assertion to be optional * Verify priority order to search for profiles.yml configuration * Updates after pre-commit checks * Test searching for profiles.yml within the dbt project directory before `~/.dbt/` * Refactor `dbt debug` to move to the project directory prior to looking up profiles directory * Search the current working directory for profiles.yml * Changelog * Formatting with Black * Move `run_dbt_and_capture_stdout` into the test case * Update CLI help text * Unify separate DEFAULT_PROFILES_DIR definitions * Remove unused PROFILE_DIR_MESSAGE * Remove unused DEFAULT_PROFILES_DIR * Use shared definition of DEFAULT_PROFILES_DIR * Define global vs. local profiles location and dynamically determine the default * Restore original * Remove function for determining the default profiles directory
- Loading branch information
Showing
9 changed files
with
28 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
kind: Features | ||
body: Search current working directory for `profiles.yml` | ||
time: 2022-08-25T19:50:23.940417-06:00 | ||
custom: | ||
Author: dbeatty10 | ||
Issue: "5411" | ||
PR: "5717" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters