-
Notifications
You must be signed in to change notification settings - Fork 8
feat: use project overarching vars #239
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
base: develop
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,7 +64,7 @@ loadVars() { | |
| fetchVarsFromVaultByFile /etc/bridgehead/$PROJECT.conf || fail_and_report 1 "Unable to fetchVarsFromVaultByFile" | ||
| setHostname | ||
| optimizeBlazeMemoryUsage | ||
| [ -e ./$PROJECT/vars ] && source ./$PROJECT/vars | ||
| [ -e ./$PROJECT/vars ] && source ./$PROJECT/vars ./vars | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the source of ./vars should happen before the more specific project vars so that they can override the default and get set regardless of project vars existing or not |
||
| set +a | ||
|
|
||
| OVERRIDE=${OVERRIDE:=""} | ||
|
|
||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
|
|
||
| source vars | ||
| for module in $PROJECT/modules/*.sh | ||
| do | ||
| log DEBUG "sourcing $module" | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. BEAM_TAG gets exported here https://github.com/samply/bridgehead/blob/develop/bridgehead#L90
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not too happy about having different places where the tags are set, but we can tackle that in the future as it touches the |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| BLAZE_TAG=0.28 | ||
| POSTGRES_TAG=15.6-alpine |
Uh oh!
There was an error while loading. Please reload this page.