mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-02-17 15:36:23 +00:00
Adding tests for amazonlinux:2
This commit is contained in:
parent
45309059e9
commit
7f832ba108
@ -1,6 +1,5 @@
|
|||||||
# .travis.yml
|
# .travis.yml
|
||||||
---
|
---
|
||||||
|
|
||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
language: python
|
language: python
|
||||||
@ -86,6 +85,10 @@ env:
|
|||||||
DISTRIBUTION=centos
|
DISTRIBUTION=centos
|
||||||
DIST_VERSION=7-builded
|
DIST_VERSION=7-builded
|
||||||
MONGODB_VERSION=3.4
|
MONGODB_VERSION=3.4
|
||||||
|
- >
|
||||||
|
DISTRIBUTION=amazonlinux
|
||||||
|
DIST_VERSION=2-builded
|
||||||
|
MONGODB_VERSION=4.0
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
14
tests/Dockerfile.amazonlinux_2-builded
Normal file
14
tests/Dockerfile.amazonlinux_2-builded
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
FROM amazonlinux:2
|
||||||
|
|
||||||
|
# This is needed so that ansible managed to read "ansible_default_ipv4"
|
||||||
|
RUN yum install iproute -y
|
||||||
|
|
||||||
|
# This step is needed since standard CentOS docker image does not come with init-functions installed by default.
|
||||||
|
# This package seems to be required for Mongo 3.2 and downwards
|
||||||
|
RUN yum install initscripts -y
|
||||||
|
|
||||||
|
# we can has SSH
|
||||||
|
EXPOSE 22
|
||||||
|
|
||||||
|
# pepare for takeoff
|
||||||
|
CMD ["/usr/sbin/init"]
|
Loading…
x
Reference in New Issue
Block a user