Skip to content

Commit b5784c1

Browse files
authored
build: adds a .envrc.local file for local development for dotenv (#538)
**What problem does this PR solve?**: allows developers to have `.envrc.local` files to contain secret information like `NUTANIX_USER` and `NUTANIX_PASSWORD` based on this direnv/direnv#544 (comment) **Which issue(s) this PR fixes**: Fixes # **How Has This Been Tested?**: <!-- Please describe the tests that you ran to verify your changes. Provide output from the tests and any manual steps needed to replicate the tests. --> **Special notes for your reviewer**: <!-- Use this to provide any additional information to the reviewers. This may include: - Best way to review the PR. - Where the author wants the most review attention on. - etc. -->
1 parent c9497ff commit b5784c1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.envrc

+2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ export DEVBOX_NO_ENVRC_UPDATE=1
77

88
eval "$(devbox generate direnv --print-envrc --env-file .dev-envrc)"
99

10+
dotenv_if_exists '.envrc.local'
11+
1012
# check out https://www.jetpack.io/devbox/docs/ide_configuration/direnv/
1113
# for more details

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ dist/
2626

2727
*.tar.gz
2828
*.tar
29+
.envrc.local
2930
capd-kubeconfig
3031

3132
ct_previous_*/

0 commit comments

Comments
 (0)