tripleo-ansible/tripleo_ansible/roles/tripleo_config/molecule/default/molecule.yml
Rafael Castillo 8572cdc071 Switch collectd molecule jobs to use CentOS Stream 8 image
Collectd molecule depends on tripleo-repos to install appstream and
baseos repos, which by default will configure repos for CentOS-8. Since
CentOS-8 already reached EOL, we can move molecule jobs' image to CentOS
Stream 8, instead of changing tripleo-repos to provide different repos
for ubi-8.
This is a follow-up change of ab88334e14

Related-Bug: #1959100
(cherry picked from commit 6137dd8618)

Switch molecule jobs to centos stream 8

Closes-Bug: #1959100
Change-Id: I69aa4e837b88a08ee68fca552c645e3e7183fab7
(cherry picked from commit ab88334e14)
2022-02-16 12:57:50 -05:00

51 lines
955 B
YAML

---
driver:
name: podman
log: true
platforms:
- name: centos
hostname: centos
image: centos/centos:stream8
registry:
url: quay.io
dockerfile: Dockerfile
pkg_extras: python*setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
centos:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
scenario:
test_sequence:
- destroy
- create
- prepare
- converge
- check
- verify
- destroy
verifier:
name: testinfra