ae303b9aae
Setting molecule to use centos8 stream instead of UBI8. Changing nodeset of the CI jobs to centos8 stream. Also reenables the end-of-file-fixer and simplifies testenvs Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I9da5b306d59e1aab3b9fd9d9db7294b1c69655be
71 lines
2.0 KiB
YAML
71 lines
2.0 KiB
YAML
---
|
|
# validations-common uses a shared molecule configuration file to avoid
|
|
# repetition. That configuration file is located at the repository level
|
|
# ({REPO}/.config/molecule/config.yml) and defines all the default values for
|
|
# all the molecule.yml files across all the roles. By default, the role-addition
|
|
# process will produce an empty molecule.yml inheriting this config.yml file.
|
|
#
|
|
# Any key defined in the role molecule.yml file will override values from this
|
|
# config.yml file.
|
|
#
|
|
# IMPORTANT: if you want to override the default values set here in this file,
|
|
# you will have to redefine them completely in your molecule.yml (at the role
|
|
# level) and add your extra configuration!
|
|
#
|
|
# For instance, if you need to add an extra package in your CentOS 8 Stream
|
|
# container, you will have to add the entire "platforms" key into your
|
|
# molecule.yml file and add your package name in the pkg_extras key.
|
|
#
|
|
# No merge will happen between your molecule.yml and this config.yml
|
|
# files. That's why you will have to redefine them completely.
|
|
|
|
driver:
|
|
name: podman
|
|
|
|
log: true
|
|
|
|
platforms:
|
|
- name: centos
|
|
hostname: centos
|
|
image: centos/centos:stream8
|
|
registry:
|
|
url: quay.io
|
|
dockerfile: ../../../../../.config/molecule/Dockerfile
|
|
pkg_extras: python*-setuptools python*-pyyaml
|
|
volumes:
|
|
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
|
|
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
|
|
options:
|
|
vvv: true
|
|
env:
|
|
ANSIBLE_STDOUT_CALLBACK: yaml
|
|
ANSIBLE_ROLES_PATH: "${ANSIBLE_ROLES_PATH}:${HOME}/zuul-jobs/roles"
|
|
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
|
|
|
|
scenario:
|
|
test_sequence:
|
|
- destroy
|
|
- create
|
|
- prepare
|
|
- converge
|
|
- verify
|
|
- destroy
|
|
|
|
verifier:
|
|
name: ansible
|