This repository was archived by the owner on Mar 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +30
-8
lines changed Expand file tree Collapse file tree 6 files changed +30
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -euo pipefail
4
4
5
- if [ ! -d " ./molecule/latest" ]; then
6
- tox
5
+ if [ ! -d " ./molecule/latest" ]; then
6
+ tox -- molecule test --all
7
7
exit 0
8
8
fi
9
9
10
10
if [ " $TRAVIS_PULL_REQUEST " == " false" ]; then
11
- tox -- molecule test --all --destroy never
11
+ tox -- molecule test --all --destroy always
12
12
else
13
13
tox -- molecule test -s default --destroy always
14
14
if [ -d " ./molecule/alternative" ]; then
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ galaxy_info:
18
18
- name : EL
19
19
versions :
20
20
- 7
21
+ - 8
21
22
- name : Fedora
22
23
versions :
23
24
- 30
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ platforms:
24
24
privileged : true
25
25
volumes :
26
26
- /sys/fs/cgroup:/sys/fs/cgroup:ro
27
- - name : jessie
28
- image : paulfantom/debian-molecule:8
27
+ - name : buster
28
+ image : paulfantom/debian-molecule:10
29
29
docker_host : " ${DOCKER_HOST:-unix://var/run/docker.sock}"
30
30
privileged : true
31
31
volumes :
@@ -36,12 +36,22 @@ platforms:
36
36
privileged : true
37
37
volumes :
38
38
- /sys/fs/cgroup:/sys/fs/cgroup:ro
39
+ - name : centos8
40
+ image : paulfantom/centos-molecule:8
41
+ docker_host : " ${DOCKER_HOST:-unix://var/run/docker.sock}"
42
+ privileged : true
43
+ volumes :
44
+ - /sys/fs/cgroup:/sys/fs/cgroup:ro
45
+ groups :
46
+ - python3
39
47
- name : fedora
40
- image : paulfantom/fedora-molecule:27
48
+ image : paulfantom/fedora-molecule:30
41
49
docker_host : " ${DOCKER_HOST:-unix://var/run/docker.sock}"
42
50
privileged : true
43
51
volumes :
44
52
- /sys/fs/cgroup:/sys/fs/cgroup:ro
53
+ groups :
54
+ - python3
45
55
provisioner :
46
56
name : ansible
47
57
lint :
@@ -51,6 +61,10 @@ provisioner:
51
61
prepare : prepare.yml
52
62
converge : playbook.yml
53
63
destroy : destroy.yml
64
+ inventory :
65
+ group_vars :
66
+ python3 :
67
+ ansible_python_interpreter : /usr/bin/python3
54
68
scenario :
55
69
name : default
56
70
verifier :
Original file line number Diff line number Diff line change 2
2
- name : Gather variables for each operating system
3
3
include_vars : " {{ item }}"
4
4
with_first_found :
5
+ - " {{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yml"
6
+ - " {{ ansible_distribution | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
7
+ - " {{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
5
8
- " {{ ansible_distribution_file_variety | lower }}.yml"
6
9
- " {{ ansible_distribution | lower }}.yml"
7
10
- " {{ ansible_os_family | lower }}.yml"
Original file line number Diff line number Diff line change
1
+ ---
2
+ process_exporter_dependencies :
3
+ - libselinux-python
4
+ - policycoreutils-python
Original file line number Diff line number Diff line change 1
1
---
2
2
process_exporter_dependencies :
3
- - libselinux-python
4
- - policycoreutils-python
3
+ - python3-libselinux
4
+ - python3-policycoreutils
You can’t perform that action at this time.
0 commit comments