-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Backport 1.7.latest] convert SECRET_ENV_PREFIX from DBT_ENV_SECRET_ to DBT_ENV_SECRET #10052
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 @@
## 1.7.latest #10052 +/- ##
==============================================
- Coverage 86.67% 86.64% -0.03%
==============================================
Files 179 179
Lines 26662 26662
==============================================
- Hits 23109 23102 -7
- Misses 3553 3560 +7
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.
looks good
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.6.latest 1.6.latest
# Navigate to the new working tree
cd .worktrees/backport-1.6.latest
# Create a new branch
git switch --create backport-10052-to-1.6.latest
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6a54a4c04ba669517f18f2f9d3e6aea1656cba37
# Push it to GitHub
git push --set-upstream origin backport-10052-to-1.6.latest
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.6.latest Then, create a pull request where the |
…to DBT_ENV_SECRET (#10052) * convert SECRET_ENV_PREFIX from DBT_ENV_SECRET_ to DBT_ENV_SECRET * changelog # Conflicts: # tests/functional/context_methods/test_secret_env_vars.py
backports dbt-labs/dbt-common#110
relates to dbt-labs/dbt-common#109
Since that change is in dbt-common this is a manual implementation in a previous version.
Problem
DBT_ENV_SECRET_
is too strict with the final underscore.Solution
Remove final underscore & update related docs (dbt-labs/docs.getdbt.com#5327) .
Checklist