Skip to content

Commit 3831815

Browse files
authored
Merge pull request telefonicaid#4656 from telefonicaid/hardening/orion-mongodb-8.0
MongoDB 8.0
2 parents c1ee847 + dcd9557 commit 3831815

File tree

13 files changed

+16
-15
lines changed

13 files changed

+16
-15
lines changed

.github/workflows/functional.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
services:
2525
mongodb:
26-
image: mongo:6.0
26+
image: mongo:8.0
2727
ports:
2828
- 27017:27017
2929

.github/workflows/unit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
services:
2424
mongodb:
25-
image: mongo:6.0
25+
image: mongo:8.0
2626
ports:
2727
- 27017:27017
2828

.github/workflows/valgrind-nocache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
services:
2828
mongodb:
29-
image: mongo:6.0
29+
image: mongo:8.0
3030
ports:
3131
- 27017:27017
3232

.github/workflows/valgrind.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
services:
2525
mongodb:
26-
image: mongo:6.0
26+
image: mongo:8.0
2727
ports:
2828
- 27017:27017
2929

CHANGES_NEXT_RELEASE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
- Hardening: upgrade libmongoc dependency from 1.24.3 to 1.29.0
1010
- Upgrade cjexl version from 0.4.0 to 0.5.0 (new transformations: arrMax, arrMin, arrMed, arrSort and arrReverse )
1111
- Upgrade Debian version from 12.6 to 12.9 in Dockerfile
12+
- Reference MongoDB version changed from 6.0 to 8.0

ci/deb/build-dep.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ apt-get -y install \
5050
libgcrypt-dev
5151

5252
echo "INSTALL: MongoDB shell" \
53-
&& curl -L https://www.mongodb.org/static/pgp/server-6.0.asc | apt-key add - \
54-
&& echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/6.0 main" | tee /etc/apt/sources.list.d/mongodb-org-6.0.list \
53+
&& curl -L https://www.mongodb.org/static/pgp/server-8.0.asc | apt-key add - \
54+
&& echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/8.0 main" | tee /etc/apt/sources.list.d/mongodb-org-6.0.list \
5555
&& apt-get -y update \
5656
&& apt-get -y install mongodb-mongosh
5757

doc/manuals/admin/build_source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The Orion Context Broker comes with a suite of unit, valgrind and end-to-end tes
109109

110110
In the case of the aarch64 architecture, install libxslt using apt-get, and run `./configure` with `--build=arm-linux` option.
111111

112-
* Install MongoDB (tests rely on mongod running in localhost). Check [the official MongoDB documentation](https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-debian/) for details. Recommended version is 6.0 (it may work with previous versions, but we don't recommend it).
112+
* Install MongoDB (tests rely on mongod running in localhost). Check [the official MongoDB documentation](https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-debian/) for details. Recommended version is 8.0 (it may work with previous versions, but we don't recommend it).
113113

114114
* Run unit test
115115

doc/manuals/admin/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In the case you are installing Orion building from sources you need:
2626
* Operating system: Debian. The reference operating system is Debian 12.9
2727
but it should work also in any later Debian 12 version.
2828
* Database: MongoDB is required to run either in the same host where Orion Context Broker is to be installed or in a different host accessible through the network. The recommended MongoDB version
29-
is 6.0 (Orion may work with older versions but we don't recommend it at all!).
29+
is 8.0 (Orion may work with older versions but we don't recommend it at all!).
3030

3131
For system resources (CPUs, RAM, etc.) see [these recommendations](diagnosis.md#resource-availability).
3232

doc/manuals/admin/perf_tuning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
## MongoDB configuration
2222

23-
From a performance point of view, it is recommended to use MongoDB 6.0 with WireTiger, especially
23+
From a performance point of view, it is recommended to use MongoDB 8.0 with WireTiger, especially
2424
in update-intensive scenarios.
2525

2626
In addition, take into account the following information from the official MongoDB documentation, as it may have

docker/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Follow these steps:
3838
command: -dbURI mongodb://mongo
3939
4040
mongo:
41-
image: mongo:6.0
41+
image: mongo:8.0
4242
command: --nojournal
4343

4444
3. Using the command-line and within the directory you created type: `sudo docker-compose up`.
@@ -77,7 +77,7 @@ Check that everything works with
7777
### 2B. MongoDB runs on another docker container
7878
In case you want to run MongoDB on another container you can launch it like this
7979

80-
sudo docker run --name mongodb -d mongo:6.0
80+
sudo docker run --name mongodb -d mongo:8.0
8181

8282
And then run Orion with this command
8383

@@ -111,7 +111,7 @@ Steps:
111111
4. Run Orion...
112112
* Using an automated scenario with docker-compose and building your new image: `sudo docker-compose up`. You may also modify the provided `docker-compose.yml` file if you need so.
113113
* Manually, running MongoDB on another container:
114-
1. `sudo docker run --name mongodb -d mongo:6.0`
114+
1. `sudo docker run --name mongodb -d mongo:8.0`
115115
2. `sudo docker build -t orion .`
116116
3. `sudo docker run -d --name orion1 --link mongodb:mongodb -p 1026:1026 orion -dbURI mongodb://mongodb`.
117117
* Manually, specifying where to find your MongoDB host:

0 commit comments

Comments
 (0)