55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
---
|
|
dependency:
|
|
name: shell
|
|
command: pip install python-nginx
|
|
driver:
|
|
name: docker
|
|
lint: |
|
|
set -e
|
|
yamllint .
|
|
ansible-lint
|
|
flake8
|
|
platforms:
|
|
- name: debian-stretch
|
|
image: debian:stretch-slim
|
|
dockerfile: ../common/Dockerfile.j2
|
|
privileged: true
|
|
volumes:
|
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
command: "/sbin/init"
|
|
- name: debian-buster
|
|
image: debian:buster-slim
|
|
dockerfile: ../common/Dockerfile.j2
|
|
privileged: true
|
|
volumes:
|
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
command: "/sbin/init"
|
|
- name: ubuntu-xenial
|
|
image: ubuntu:xenial
|
|
dockerfile: ../common/Dockerfile.j2
|
|
privileged: true
|
|
volumes:
|
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
command: "/sbin/init"
|
|
- name: ubuntu-bionic
|
|
image: ubuntu:bionic
|
|
dockerfile: ../common/Dockerfile.j2
|
|
privileged: true
|
|
volumes:
|
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
command: "/sbin/init"
|
|
- name: ubuntu-focal
|
|
image: ubuntu:focal
|
|
dockerfile: ../common/Dockerfile.j2
|
|
privileged: true
|
|
volumes:
|
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
command: "/sbin/init"
|
|
provisioner:
|
|
name: ansible
|
|
playbooks:
|
|
converge: ../common/playbook_template.yml
|
|
verifier:
|
|
name: testinfra
|
|
directory: ../common/test_template
|