Adding support mongodb 3.4 and 3.6 on amazonlinux

This commit is contained in:
Thiago Almeida 2019-05-20 22:40:41 +02:00
parent d913374538
commit 157cc09541
2 changed files with 11 additions and 0 deletions

View File

@ -89,6 +89,14 @@ env:
DISTRIBUTION=amazonlinux
DIST_VERSION=2-builded
MONGODB_VERSION=4.0
- >
DISTRIBUTION=amazonlinux
DIST_VERSION=2-builded
MONGODB_VERSION=3.6
- >
DISTRIBUTION=amazonlinux
DIST_VERSION=2-builded
MONGODB_VERSION=3.4
services:
- docker

View File

@ -1,8 +1,11 @@
---
mongodb_repository:
"4.0": "https://repo.mongodb.org/yum/amazon/2/mongodb-org/4.0/x86_64/"
"3.6": "https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.6/x86_64/"
"3.4": "https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.4/x86_64/"
mongodb_repository_gpgkey:
"4.0": "https://www.mongodb.org/static/pgp/server-4.0.asc"
"3.6": "https://www.mongodb.org/static/pgp/server-3.6.asc"
mongodb_pidfile_path: "{{ '/var/run/mongodb/mongod.pid' if ('mongodb-org' in mongodb_package) else '' }}"