-
Notifications
You must be signed in to change notification settings - Fork 6
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
Make bind-mount locations more flexible #356
Merged
Merged
Changes from 6 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
0c1ab2f
allow flexible bind mount locations for more variables
mishaschwartz 9a50dcb
create persist shared directory
mishaschwartz f6a3dc0
update changes file
mishaschwartz 586ea3d
clarify documentation for cowbird
mishaschwartz a9ef0df
config and documentation updates
mishaschwartz d623f8d
Merge branch 'master' into flexible-bind-mount-locations
mishaschwartz 0b80596
Merge branch 'master' into flexible-bind-mount-locations
fmigneault efa146c
remove WEAVER_WPS_PRIVATE_DIR
mishaschwartz 601749e
fix WPS_OUTPUTS_DIR delayed eval
mishaschwartz 59a7cdb
Bump version: 1.33.1 → 1.33.2
mishaschwartz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,13 @@ export WEAVER_WPS_PROVIDERS_RETRY_COUNT=5 | |
# control interval time between retries (duration in seconds, counts toward maximum timeout) | ||
export WEAVER_WPS_PROVIDERS_RETRY_AFTER=5 | ||
|
||
export WEAVER_MONGODB_DATA_DIR='${DATA_PERSIST_ROOT}/mongodb_weaver_persist' | ||
|
||
export WEAVER_WPS_PRIVATE_DIR='${DATA_PERSIST_ROOT}/wps_private' | ||
|
||
export DELAYED_EVAL=" | ||
$DELAYED_EVAL | ||
WEAVER_WPS_OUTPUTS_DIR | ||
WEAVER_MONGODB_DATA_DIR | ||
WEAVER_WPS_PRIVATE_DATA_DIR | ||
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. Left-over not deleted |
||
" |
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 |
---|---|---|
|
@@ -63,7 +63,7 @@ services: | |
- weaver-mongodb | ||
volumes: | ||
#- wps_private:/data/wps_private | ||
- ${DATA_PERSIST_ROOT}/wps_private:/data/wps_private | ||
- ${WEAVER_WPS_PRIVATE_DIR}:/data/wps_private | ||
- ./components/weaver/config/weaver/weaver.ini:/opt/local/src/weaver/config/weaver.ini:ro | ||
- ./components/weaver/config/weaver/request_options.yml:/opt/local/src/weaver/config/request_options.yml:ro | ||
- ./components/weaver/celery-healthcheck:/opt/local/bin/weaver/celery-healthcheck:ro | ||
|
@@ -97,7 +97,7 @@ services: | |
networks: | ||
- weaver-mongodb | ||
volumes: | ||
- ${DATA_PERSIST_ROOT}/mongodb_weaver_persist:/data/db | ||
- ${WEAVER_MONGODB_DATA_DIR}/mongodb_weaver_persist:/data/db | ||
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. Should this be |
||
restart: always | ||
logging: *default-logging | ||
|
||
|
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,12 @@ | ||
# All env in this default.env can be overridden by env.local. | ||
|
||
# All env in this default.env must NOT depend on any other env. If they do, they | ||
# must use single quotes to avoid early expansion before overrides in env.local | ||
# are applied and must be added to the list of DELAYED_EVAL. | ||
|
||
export MONGODB_DATA_DIR='${DATA_PERSIST_ROOT}/mongodb_persist' | ||
|
||
export DELAYED_EVAL=" | ||
$DELAYED_EVAL | ||
MONGODB_DATA_DIR | ||
" |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This one might need to be revisited.
Might be deprecated considering the switch to
wpsoutputs
with nested user-context managed by Cowbird.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.
@fmigneault are you suggesting that this shouldn't be included in this PR or just that this might be deprecated some time in the future?
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.
Yes. I think it will be deprecated eventually.