From 66888990af16d753c66d021e635dbbb7c2a68769 Mon Sep 17 00:00:00 2001 From: Eike Waldt Date: Mon, 7 Oct 2019 20:28:15 +0200 Subject: [PATCH] add test support for CentOS8 Signed-off-by: Eike Waldt --- .kitchen.vagrant.yml | 3 +++ .kitchen.yml | 8 ++++++++ .travis.yml | 5 +++++ meta/main.yml | 1 + 4 files changed, 17 insertions(+) diff --git a/.kitchen.vagrant.yml b/.kitchen.vagrant.yml index c8e60e98..0ae80a28 100644 --- a/.kitchen.vagrant.yml +++ b/.kitchen.vagrant.yml @@ -36,6 +36,9 @@ platforms: - name: centos-7 driver_config: box: bento/centos-7 +- name: centos-8 + driver_config: + box: bento/centos-8 - name: oracle-6 driver_config: box: bento/oracle-6 diff --git a/.kitchen.yml b/.kitchen.yml index 507ced68..535d6d47 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -36,6 +36,14 @@ platforms: provision_command: - sed -i 's/UsePAM yes/UsePAM no/g' /etc/ssh/sshd_config - systemctl enable sshd.service +- name: centos8-ansible-latest + driver: + image: rndmh3ro/docker-centos8-ansible:latest + platform: centos + run_command: /sbin/init + provision_command: + - sed -i 's/UsePAM yes/UsePAM no/g' /etc/ssh/sshd_config + - systemctl enable sshd.service - name: oracle6-ansible-latest driver: image: rndmh3ro/docker-oracle6-ansible:latest diff --git a/.travis.yml b/.travis.yml index a701d0d7..d981f156 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,11 @@ env: run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro" version: latest + - distro: centos8 + init: /lib/systemd/systemd + run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro" + version: latest + - distro: fedora init: /lib/systemd/systemd run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro" diff --git a/meta/main.yml b/meta/main.yml index b5458473..79c734da 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -10,6 +10,7 @@ galaxy_info: versions: - 6 - 7 + - 8 - name: Ubuntu versions: - xenial