16f21c5c7c
* Use slim Debian images for testing * Update `volume_mounts` to `volumes` * Update and move default Dockerfile * Use normal centos image * Add epel-release prerequisite to CentOS modules * Separate module and template tests
41 lines
883 B
YAML
41 lines
883 B
YAML
---
|
|
dependency:
|
|
name: shell
|
|
command: pip install python-nginx
|
|
driver:
|
|
name: docker
|
|
lint:
|
|
name: yamllint
|
|
platforms:
|
|
- name: centos-6
|
|
image: centos:6
|
|
dockerfile: ../common/Dockerfile.j2
|
|
- name: centos-7
|
|
image: centos:7
|
|
dockerfile: ../common/Dockerfile.j2
|
|
privileged: True
|
|
volumes:
|
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
command: "/usr/sbin/init"
|
|
tty: True
|
|
- name: debian-stretch
|
|
image: debian:stretch-slim
|
|
dockerfile: ../common/Dockerfile.j2
|
|
- name: debian-buster
|
|
image: debian:buster-slim
|
|
dockerfile: ../common/Dockerfile.j2
|
|
- name: ubuntu-xenial
|
|
image: ubuntu:xenial
|
|
dockerfile: ../common/Dockerfile.j2
|
|
- name: ubuntu-bionic
|
|
image: ubuntu:bionic
|
|
dockerfile: ../common/Dockerfile.j2
|
|
provisioner:
|
|
name: ansible
|
|
lint:
|
|
name: ansible-lint
|
|
verifier:
|
|
name: testinfra
|
|
lint:
|
|
name: flake8
|