Skip to content

Commit 61ccb2f

Browse files
committed
renabled rest of tests.
1 parent 2e6cd41 commit 61ccb2f

File tree

3 files changed

+66
-52
lines changed

3 files changed

+66
-52
lines changed

.travis.yml

Lines changed: 52 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -3,54 +3,58 @@
33

44
sudo: required
55
env:
6-
# - >
7-
# DISTRIBUTION=ubuntu-upstart
8-
# DIST_VERSION=14.04
9-
# MONGODB_VERSION=3.2
10-
# - >
11-
# DISTRIBUTION=ubuntu-upstart
12-
# DIST_VERSION=14.04
13-
# MONGODB_VERSION=3.0
14-
# - >
15-
# DISTRIBUTION=ubuntu-upstart
16-
# DIST_VERSION=14.04
17-
# MONGODB_VERSION=2.6
18-
# - >
19-
# DISTRIBUTION=ubuntu-upstart
20-
# DIST_VERSION=12.04-builded
21-
# MONGODB_VERSION=3.2
22-
# - >
23-
# DISTRIBUTION=ubuntu-upstart
24-
# DIST_VERSION=12.04-builded
25-
# MONGODB_VERSION=3.0
26-
# - >
27-
# DISTRIBUTION=ubuntu-upstart
28-
# DIST_VERSION=12.04-builded
29-
# MONGODB_VERSION=2.6
30-
# - >
31-
# DISTRIBUTION=centos
32-
# DIST_VERSION=6
33-
# MONGODB_VERSION=2.6
34-
# - >
35-
# DISTRIBUTION=centos
36-
# DIST_VERSION=6
37-
# MONGODB_VERSION=3.0
38-
# - >
39-
# DISTRIBUTION=centos
40-
# DIST_VERSION=6
41-
# MONGODB_VERSION=3.2
42-
# - >
43-
# DISTRIBUTION=centos
44-
# DIST_VERSION=7
45-
# MONGODB_VERSION=2.6
46-
# - >
47-
# DISTRIBUTION=centos
48-
# DIST_VERSION=7
49-
# MONGODB_VERSION=3.0
50-
# - >
51-
# DISTRIBUTION=centos
52-
# DIST_VERSION=7
53-
# MONGODB_VERSION=3.2
6+
- >
7+
DISTRIBUTION=ubuntu-upstart
8+
DIST_VERSION=14.04
9+
MONGODB_VERSION=3.2
10+
- >
11+
DISTRIBUTION=ubuntu-upstart
12+
DIST_VERSION=14.04
13+
MONGODB_VERSION=3.0
14+
- >
15+
DISTRIBUTION=ubuntu-upstart
16+
DIST_VERSION=14.04
17+
MONGODB_VERSION=2.6
18+
- >
19+
DISTRIBUTION=ubuntu-upstart
20+
DIST_VERSION=12.04-builded
21+
MONGODB_VERSION=3.2
22+
- >
23+
DISTRIBUTION=ubuntu-upstart
24+
DIST_VERSION=12.04-builded
25+
MONGODB_VERSION=3.0
26+
- >
27+
DISTRIBUTION=ubuntu-upstart
28+
DIST_VERSION=12.04-builded
29+
MONGODB_VERSION=2.6
30+
- >
31+
DISTRIBUTION=centos
32+
DIST_VERSION=6-builded
33+
MONGODB_VERSION=2.6
34+
- >
35+
DISTRIBUTION=centos
36+
DIST_VERSION=6-builded
37+
MONGODB_VERSION=3.0
38+
- >
39+
DISTRIBUTION=centos
40+
DIST_VERSION=6-builded
41+
MONGODB_VERSION=3.2
42+
- >
43+
DISTRIBUTION=centos
44+
DIST_VERSION=6-builded
45+
MONGODB_VERSION=3.4
46+
- >
47+
DISTRIBUTION=centos
48+
DIST_VERSION=7-builded
49+
MONGODB_VERSION=2.6
50+
- >
51+
DISTRIBUTION=centos
52+
DIST_VERSION=7-builded
53+
MONGODB_VERSION=3.0
54+
- >
55+
DISTRIBUTION=centos
56+
DIST_VERSION=7-builded
57+
MONGODB_VERSION=3.2
5458
- >
5559
DISTRIBUTION=centos
5660
DIST_VERSION=7-builded

tests/Dockerfile.centos_6-builded

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM centos:6
2+
3+
# This is needed so that ansible managed to read "ansible_default_ipv4"
4+
RUN yum install iproute -y
5+
6+
# This step is needed since standard CentOS docker image does not come with EPEL installed by default
7+
RUN yum install epel-release -y
8+
9+
# we can has SSH
10+
EXPOSE 22
11+
12+
# pepare for takeoff
13+
CMD ["/usr/sbin/init"]

tests/site.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@
2020
- hosts: "{{ target }}"
2121
become: no
2222
gather_facts: yes
23-
pre_tasks:
24-
- name: Show hostvars
25-
debug:
26-
var: "hostvars[inventory_hostname]['ansible_default_ipv4']"
23+
2724
roles:
2825
- role: greendayonfire.mongodb
2926
when: "'mongo_master' in group_names"

0 commit comments

Comments
 (0)