[macOS] Update MongoDB to version 5 (#3772)
This commit is contained in:
@@ -2,13 +2,11 @@
|
|||||||
source ~/utils/utils.sh
|
source ~/utils/utils.sh
|
||||||
|
|
||||||
# MongoDB object-value database
|
# MongoDB object-value database
|
||||||
# installs last version of MongoDB Community Edition
|
# Install latest release version of MongoDB Community Edition
|
||||||
# https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/v
|
# https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x
|
||||||
|
|
||||||
echo "Installing mongodb..."
|
echo "Installing mongodb..."
|
||||||
|
|
||||||
brew tap mongodb/brew
|
brew tap mongodb/brew
|
||||||
brew_smart_install "mongodb-community@4.4"
|
brew_smart_install "mongodb-community@5.0"
|
||||||
ln -sf $(brew --prefix [email protected])/bin/* /usr/local/bin/
|
|
||||||
|
|
||||||
invoke_tests "Databases" "Mongo"
|
invoke_tests "Databases" "MongoDB"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Describe "Mongo" {
|
Describe "MongoDB" {
|
||||||
It "mongodb" {
|
It "mongodb" {
|
||||||
"mongo --version" | Should -ReturnZeroExitCode
|
"mongo --version" | Should -ReturnZeroExitCode
|
||||||
"mongod --version"| Should -ReturnZeroExitCode
|
"mongod --version"| Should -ReturnZeroExitCode
|
||||||
|
|||||||
Reference in New Issue
Block a user