-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #499 from DominusKelvin/feat/upgrade-to-mongo-6
[feat]: upgrade to mongodb driver 6
- Loading branch information
Showing
15 changed files
with
92 additions
and
85 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
adapter: | ||
image: node:12 | ||
volumes: | ||
- $PWD:/home/node/sails-mongo | ||
links: | ||
- mongo | ||
environment: | ||
- WATERLINE_ADAPTER_TESTS_DATABASE=sails-mongo | ||
- WATERLINE_ADAPTER_TESTS_URL=mongo/testdb | ||
- WATERLINE_ADAPTER_TESTS_HOST=mongo | ||
- NODE_ENV=test | ||
user: node | ||
working_dir: /home/node/sails-mongo | ||
command: | ||
- bash -c "npm test" | ||
version: '3' | ||
services: | ||
adapter: | ||
image: node:20 | ||
volumes: | ||
- $PWD:/home/node/sails-mongo | ||
links: | ||
- mongo | ||
environment: | ||
- WATERLINE_ADAPTER_TESTS_DATABASE=sails-mongo | ||
- WATERLINE_ADAPTER_TESTS_URL=mongo/testdb | ||
- WATERLINE_ADAPTER_TESTS_HOST=mongo | ||
- NODE_ENV=test | ||
user: node | ||
working_dir: /home/node/sails-mongo | ||
command: | ||
- bash -c "npm test" | ||
|
||
mongo: | ||
image: mongo:4.2 | ||
restart: always | ||
command: "--logpath=/dev/null" | ||
ports: | ||
- "27017:27017" | ||
mongo: | ||
image: mongo:7 | ||
restart: always | ||
command: "--logpath=/dev/null" | ||
ports: | ||
- "27017:27017" |
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
Oops, something went wrong.