be85c6e135
This change imports the aide content from the tripleo-heat-templates project and creates a role which can be used throughout the tripleo project ecosystem. The role will test in docker containers running both fedora28 and centos7. Change-Id: I3a34152dd0cd7363a6f138d6e1c6fd0f062a3ac6 Signed-off-by: Kevin Carter <kevin@cloudnull.com> Signed-off-by: Kevin Carter <kecarter@redhat.com>
49 lines
763 B
YAML
49 lines
763 B
YAML
---
|
|
driver:
|
|
name: docker
|
|
|
|
log: true
|
|
|
|
platforms:
|
|
- name: centos7
|
|
hostname: centos7
|
|
image: centos:7
|
|
dockerfile: Dockerfile
|
|
pkg_extras: python-setuptools
|
|
easy_install:
|
|
- pip
|
|
environment: &env
|
|
http_proxy: "{{ lookup('env', 'http_proxy') }}"
|
|
https_proxy: "{{ lookup('env', 'https_proxy') }}"
|
|
|
|
- name: fedora28
|
|
hostname: fedora28
|
|
image: fedora:28
|
|
dockerfile: Dockerfile
|
|
pkg_extras: python*-setuptools
|
|
environment:
|
|
<<: *env
|
|
|
|
provisioner:
|
|
name: ansible
|
|
log: true
|
|
env:
|
|
ANSIBLE_STDOUT_CALLBACK: yaml
|
|
|
|
scenario:
|
|
test_sequence:
|
|
- destroy
|
|
- create
|
|
- prepare
|
|
- converge
|
|
- verify
|
|
- destroy
|
|
|
|
lint:
|
|
enabled: false
|
|
|
|
verifier:
|
|
name: testinfra
|
|
lint:
|
|
name: flake8
|