tripleo-ansible/tripleo_ansible/roles/tripleo_metrics_qdr/molecule/default/molecule.yml
Sagi Shnaidman 8f9a141bf9 Use centos-8 stream for molecule jobs
Set containers module to 3.0.
Mount dnf vars for evaluating $stream var.
Set --no-stream for ubi container images.
Mark 2 jobs unvoting to fix later.

Change-Id: Ib69f8b5931e846ca012bee8a2bc24dc2a614e274
2021-04-25 23:56:33 +03:00

67 lines
1.4 KiB
YAML

---
driver:
name: podman
log: true
platforms:
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
pkg_extras: python*setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/dnf/vars:/etc/dnf/vars
# Had to comment this out to fix a problem installing rdo-release-victoria
# see common/prepare.yml
# - /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
CONTAINER_BIN: podman
ulimits: &ulimit
- host
provisioner:
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
vars:
ansible_user: root
tripleo_metrics_qdr_conf_output_dir: /etc/qpid-dispatch/
name: ansible
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_FILTER_PLUGINS: "${ANSIBLE_FILTER_PLUGINS:-\
/usr/share/ansible/plugins/filter}"
playbooks:
prepare: ../common/prepare.yml
verifier:
name: ansible
dependency:
name: galaxy
options:
role-file: molecule/common/requirements.yml
scenario:
name: default
test_sequence:
- destroy
- dependency
- create
- prepare
- converge
- check
- verify
- destroy