-
Notifications
You must be signed in to change notification settings - Fork 65
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
Usability improvements (redux) #477
Merged
Merged
Changes from 18 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f423fd8
Usability improvements (#473)
blink1073 708cb95
address review
blink1073 d9c6aa8
address shellcheck for sh
blink1073 6f53862
missed a return
blink1073 cf1652f
fix handling of local .bin
blink1073 4750149
Update .evergreen/download-mongodb.sh
blink1073 4f6c777
Update .evergreen/download-mongodb.sh
blink1073 b82f332
Update .evergreen/find-python3.sh
blink1073 1eac52d
Update .evergreen/handle-paths.sh
blink1073 dc37c83
Update .evergreen/handle-paths.sh
blink1073 33ec005
Update .evergreen/stop-orchestration.sh
blink1073 34517f3
Update Makefile
blink1073 2658776
address review
blink1073 968b936
Update .evergreen/download-mongodb.sh
blink1073 2f1aa62
Update .evergreen/download-mongodb.sh
blink1073 49f8b42
Update .evergreen/download-mongodb.sh
blink1073 75d8d87
address review
blink1073 6a6a558
remove mongodb directory when running server
blink1073 3fdcd47
address review
blink1073 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
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 |
---|---|---|
@@ -1,14 +1,20 @@ | ||
#!/usr/bin/env bash | ||
set -o errexit # Exit the script with error if any of the commands fail | ||
|
||
cd "$MONGO_ORCHESTRATION_HOME" | ||
SCRIPT_DIR=$(dirname "${BASH_SOURCE:-"$0"}") | ||
. "$SCRIPT_DIR/handle-paths.sh" | ||
|
||
cd ${DRIVERS_TOOLS} | ||
|
||
# source the mongo-orchestration virtualenv if it exists | ||
if [ -f venv/bin/activate ]; then | ||
. venv/bin/activate | ||
. "$MONGO_ORCHESTRATION_HOME/venv/bin/activate" | ||
mongo-orchestration stop | ||
elif [ -f venv/Scripts/activate ]; then | ||
. venv/Scripts/activate | ||
. "$MONGO_ORCHESTRATION_HOME/venv/Scripts/activate" | ||
mongo-orchestration stop | ||
else | ||
echo "No mongo orchestration to stop!" | ||
echo "No virtualenv found!" | ||
fi | ||
|
||
cd - |
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 |
---|---|---|
|
@@ -9,6 +9,7 @@ __pycache__/ | |
|
||
# C extensions | ||
*.so | ||
*.dylib | ||
|
||
# Distribution / packaging | ||
.Python | ||
|
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 |
---|---|---|
|
@@ -3,6 +3,13 @@ | |
all: | ||
@echo "Project successfully compiled" | ||
|
||
run-server: | ||
rm -rf mongodb | ||
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. May prefer moving this into a 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. Done |
||
.evergreen/run-orchestration.sh | ||
|
||
stop-server: | ||
.evergreen/stop-orchestration.sh | ||
|
||
test: | ||
@echo "Running tests..." | ||
@echo "All done, thank you and please come again" | ||
|
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.
Unsure if Auth AWS test failures are related to changes in this PR.
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.
It looks like removing
rm -rf mongodb
will fix this one too:/tmp/test.sh: line 15: /root/mongosh: No such file or directory
.