Skip to content

Commit c7cfdf2

Browse files
authored
[macOS] Update MongoDB to version 5 (actions#3772)
1 parent 99c8d00 commit c7cfdf2

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

images/macos/provision/core/mongodb.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
source ~/utils/utils.sh
33

44
# MongoDB object-value database
5-
# installs last version of MongoDB Community Edition
6-
# https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/v
5+
# Install latest release version of MongoDB Community Edition
6+
# https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x
77

88
echo "Installing mongodb..."
9-
109
brew tap mongodb/brew
11-
brew_smart_install "mongodb-community@4.4"
12-
ln -sf $(brew --prefix mongodb-community@4.4)/bin/* /usr/local/bin/
10+
brew_smart_install "mongodb-community@5.0"
1311

14-
invoke_tests "Databases" "Mongo"
12+
invoke_tests "Databases" "MongoDB"

images/macos/tests/Databases.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Describe "Mongo" {
1+
Describe "MongoDB" {
22
It "mongodb" {
33
"mongo --version" | Should -ReturnZeroExitCode
44
"mongod --version"| Should -ReturnZeroExitCode

0 commit comments

Comments
 (0)