Created
April 2, 2021 14:16
-
-
Save mustafa-travisci/d8a4294d3b2a56eb3e9db293b89a416c to your computer and use it in GitHub Desktop.
MongoDB4.2 on Xenial
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
--- | |
language: node_js | |
os: linux | |
dist: xenial | |
node_js: | |
- '12' | |
before_install: | |
- wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add - | |
- echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list | |
- sudo apt-get update | |
- sudo apt-get install -y mongodb-org=4.2.13 mongodb-org-server=4.2.13 mongodb-org-shell=4.2.13 mongodb-org-mongos=4.2.13 mongodb-org-tools=4.2.13 | |
- sudo systemctl start mongod | |
- mongod --version | |
script: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment