tripleo-ansible/tripleo_ansible/roles/tripleo-systemd-wrapper/molecule/default/molecule.yml
Emilien Macchi 978b5bb5b2 (follow-up) run check mode for more molecule tests
* Add check testing in _skeleton_role_ so all newly created roles will
  run check.

* Add check testing for the following roles:
  - tripleo_bootstrap
  - tripleo_clients_install
  - tripleo_config
  - tripleo_container_image_prepare
  - tripleo_container_rm
  - tripleo_container_stop
  - tripleo_container_tag
  - tripleo_create_admin
  - tripleo_firewall
  - tripleo_hosts_entries
  - tripleo_image_serve
  - tripleo_kernel
  - tripleo_keystone_resources
  - tripleo_module_load
  - tripleo_podman
  - tripleo_puppet_cache
  - tripleo_ssh_known_hosts
  - tripleo_sshd
  - tripleo_systemd_wrapper
  - tripleo_timezone

* Fix check mode for some roles.

Change-Id: I747de97a3ad4520e7fc9038f13c453421e86c057
(cherry picked from commit b3ba0be231)
2020-04-14 16:29:13 +00:00

64 lines
1.1 KiB
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') }}"
# needed for systemd stuff
command: /sbin/init
capabilities:
- SYS_ADMIN
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
environment:
<<: *env
# needed for systemd stuff
command: /sbin/init
capabilities:
- SYS_ADMIN
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
scenario:
test_sequence:
- destroy
- create
- prepare
- converge
- check
- verify
- destroy
lint:
enabled: false
verifier:
name: testinfra
lint:
name: flake8