Browse Source

Merge "Use the UBI8 image for testing" into stable/ussuri

changes/93/782193/1
Zuul 4 weeks ago
committed by Gerrit Code Review
parent
commit
344ca57c9b
93 changed files with 1088 additions and 779 deletions
  1. +0
    -0
      _skeleton_role_/molecule/default/Dockerfile
  2. +19
    -18
      _skeleton_role_/molecule/default/molecule.yml
  3. +0
    -15
      _skeleton_role_/molecule/default/verify.yml
  4. +6
    -1
      ansible-test-env.rc
  5. +11
    -0
      bindep.txt
  6. +103
    -0
      doc/source/readme.rst
  7. +0
    -1
      molecule-requirements.txt
  8. +0
    -0
      roles/ceilometerdb_size/molecule/default/Dockerfile
  9. +19
    -17
      roles/ceilometerdb_size/molecule/default/molecule.yml
  10. +21
    -18
      roles/ceph/molecule/ceph-ansible-installed/molecule.yml
  11. +1
    -1
      roles/ceph/molecule/ceph-ansible-installed/prepare.yml
  12. +22
    -15
      roles/ceph/molecule/default/molecule.yml
  13. +1
    -1
      roles/check_network_gateway/molecule/default/Dockerfile
  14. +20
    -17
      roles/check_network_gateway/molecule/default/molecule.yml
  15. +20
    -8
      roles/check_rhsm_version/molecule/default/molecule.yml
  16. +22
    -8
      roles/check_rhsm_version/molecule/rhsm_mismatch/molecule.yml
  17. +0
    -0
      roles/collect_flavors_and_verify_profiles/molecule/default/Dockerfile
  18. +20
    -17
      roles/collect_flavors_and_verify_profiles/molecule/default/molecule.yml
  19. +0
    -0
      roles/container_status/molecule/default/Dockerfile
  20. +20
    -17
      roles/container_status/molecule/default/molecule.yml
  21. +0
    -0
      roles/controller_token/molecule/default/Dockerfile
  22. +20
    -17
      roles/controller_token/molecule/default/molecule.yml
  23. +0
    -0
      roles/controller_ulimits/molecule/default/Dockerfile
  24. +19
    -5
      roles/controller_ulimits/molecule/default/converge.yml
  25. +21
    -20
      roles/controller_ulimits/molecule/default/molecule.yml
  26. +0
    -0
      roles/ctlplane_ip_range/molecule/default/Dockerfile
  27. +20
    -17
      roles/ctlplane_ip_range/molecule/default/molecule.yml
  28. +5
    -0
      roles/ctlplane_ip_range/molecule/default/prepare.yml
  29. +0
    -0
      roles/dhcp_validations/molecule/default/Dockerfile
  30. +20
    -17
      roles/dhcp_validations/molecule/default/molecule.yml
  31. +0
    -0
      roles/healthcheck_service_status/molecule/default/Dockerfile
  32. +20
    -17
      roles/healthcheck_service_status/molecule/default/molecule.yml
  33. +0
    -0
      roles/image_serve/molecule/default/Dockerfile
  34. +20
    -23
      roles/image_serve/molecule/default/molecule.yml
  35. +0
    -0
      roles/ironic_boot_configuration/molecule/default/Dockerfile
  36. +20
    -17
      roles/ironic_boot_configuration/molecule/default/molecule.yml
  37. +0
    -0
      roles/mysql_open_files_limit/molecule/default/Dockerfile
  38. +20
    -17
      roles/mysql_open_files_limit/molecule/default/molecule.yml
  39. +0
    -0
      roles/network_environment/molecule/default/Dockerfile
  40. +20
    -17
      roles/network_environment/molecule/default/molecule.yml
  41. +0
    -0
      roles/neutron_sanity_check/molecule/default/Dockerfile
  42. +20
    -17
      roles/neutron_sanity_check/molecule/default/molecule.yml
  43. +0
    -0
      roles/node_disks/molecule/default/Dockerfile
  44. +20
    -17
      roles/node_disks/molecule/default/molecule.yml
  45. +0
    -0
      roles/node_health/molecule/default/Dockerfile
  46. +20
    -17
      roles/node_health/molecule/default/molecule.yml
  47. +0
    -0
      roles/nova_event_callback/molecule/default/Dockerfile
  48. +20
    -17
      roles/nova_event_callback/molecule/default/molecule.yml
  49. +0
    -0
      roles/nova_status/molecule/default/Dockerfile
  50. +20
    -17
      roles/nova_status/molecule/default/molecule.yml
  51. +19
    -18
      roles/nova_svirt/molecule/default/molecule.yml
  52. +5
    -0
      roles/nova_svirt/molecule/default/prepare.yml
  53. +0
    -0
      roles/openshift_on_openstack/molecule/default/Dockerfile
  54. +20
    -17
      roles/openshift_on_openstack/molecule/default/molecule.yml
  55. +0
    -0
      roles/openstack_endpoints/molecule/default/Dockerfile
  56. +20
    -17
      roles/openstack_endpoints/molecule/default/molecule.yml
  57. +0
    -0
      roles/ovs_dpdk_pmd/molecule/default/Dockerfile
  58. +20
    -17
      roles/ovs_dpdk_pmd/molecule/default/molecule.yml
  59. +0
    -0
      roles/pacemaker_status/molecule/default/Dockerfile
  60. +20
    -17
      roles/pacemaker_status/molecule/default/molecule.yml
  61. +0
    -0
      roles/package_version/molecule/default/Dockerfile
  62. +20
    -17
      roles/package_version/molecule/default/molecule.yml
  63. +0
    -0
      roles/rabbitmq_limits/molecule/default/Dockerfile
  64. +20
    -17
      roles/rabbitmq_limits/molecule/default/molecule.yml
  65. +0
    -0
      roles/repos/molecule/default/Dockerfile
  66. +20
    -16
      roles/repos/molecule/default/molecule.yml
  67. +0
    -15
      roles/repos/molecule/default/verify.yml
  68. +0
    -0
      roles/stack_health/molecule/default/Dockerfile
  69. +20
    -17
      roles/stack_health/molecule/default/molecule.yml
  70. +0
    -0
      roles/stonith_exists/molecule/default/Dockerfile
  71. +20
    -16
      roles/stonith_exists/molecule/default/molecule.yml
  72. +0
    -0
      roles/switch_vlans/molecule/default/Dockerfile
  73. +20
    -17
      roles/switch_vlans/molecule/default/molecule.yml
  74. +19
    -18
      roles/system_encoding/molecule/default/molecule.yml
  75. +0
    -0
      roles/tls_everywhere/molecule/default/Dockerfile
  76. +20
    -17
      roles/tls_everywhere/molecule/default/molecule.yml
  77. +0
    -0
      roles/undercloud_debug/molecule/default/Dockerfile
  78. +20
    -17
      roles/undercloud_debug/molecule/default/molecule.yml
  79. +0
    -0
      roles/undercloud_disk_space/molecule/default/Dockerfile
  80. +20
    -16
      roles/undercloud_disk_space/molecule/default/molecule.yml
  81. +0
    -0
      roles/undercloud_heat_purge_deleted/molecule/default/Dockerfile
  82. +20
    -21
      roles/undercloud_heat_purge_deleted/molecule/default/molecule.yml
  83. +0
    -0
      roles/undercloud_process_count/molecule/default/Dockerfile
  84. +20
    -17
      roles/undercloud_process_count/molecule/default/molecule.yml
  85. +0
    -0
      roles/undercloud_tokenflush/molecule/default/Dockerfile
  86. +20
    -21
      roles/undercloud_tokenflush/molecule/default/molecule.yml
  87. +0
    -0
      roles/undercloud_tokenflush/molecule/non-persistent-token-format/Dockerfile
  88. +20
    -21
      roles/undercloud_tokenflush/molecule/non-persistent-token-format/molecule.yml
  89. +7
    -2
      scripts/run-local-test
  90. +0
    -8
      tools/test-setup.sh
  91. +1
    -0
      zuul.d/molecule.yaml
  92. +84
    -12
      zuul.d/playbooks/pre.yml
  93. +3
    -2
      zuul.d/playbooks/run-local.yml

_skeleton_role_/molecule/default/Dockerfile.j2 → _skeleton_role_/molecule/default/Dockerfile View File


+ 19
- 18
_skeleton_role_/molecule/default/molecule.yml View File

@ -1,39 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python-setuptools
pkg_extras: python*-setuptools
privileged: true
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


+ 0
- 15
_skeleton_role_/molecule/default/verify.yml View File

@ -1,15 +0,0 @@
---
# Copyright 2020 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.

+ 6
- 1
ansible-test-env.rc View File

@ -1,9 +1,14 @@
export TRIPLEO_VALIDATIONS_WORKPATH="$(dirname $(readlink -f ${BASH_SOURCE[0]}))"
export ANSIBLE_STDOUT_CALLBACK=debug
export ANSIBLE_CALLBACK_PLUGINS="${TRIPLEO_VALIDATIONS_WORKPATH}/callback_plugins"
export ANSIBLE_LIBRARY="${TRIPLEO_VALIDATIONS_WORKPATH}/library"
ANSIBLE_LIBRARY="${TRIPLEO_VALIDATIONS_WORKPATH}/library"
export ANSIBLE_LIBRARY="${ANSIBLE_LIBRARY}:${TRIPLEO_VALIDATIONS_WORKPATH}/roles/roles.galaxy/validations-common/validations_common/library"
export ANSIBLE_LOOKUP_PLUGINS="${TRIPLEO_VALIDATIONS_WORKPATH}/lookup_plugins"
export ANSIBLE_ROLES_PATH="${TRIPLEO_VALIDATIONS_WORKPATH}/roles"
export ANSIBLE_ROLES_PATH="${ANSIBLE_ROLES_PATH}:${TRIPLEO_VALIDATIONS_WORKPATH}/roles/roles.galaxy/tripleo-ansible/tripleo_ansible/roles"
export ANSIBLE_INVENTORY="${TRIPLEO_VALIDATIONS_WORKPATH}/tests/hosts.ini"
export ANSIBLE_RETRY_FILES_ENABLED="0"
export ANSIBLE_LOAD_CALLBACK_PLUGINS="1"


+ 11
- 0
bindep.txt View File

@ -18,6 +18,17 @@ gcc-c++ [platform:rpm]
git [platform:rpm]
libffi-devel [platform:rpm]
openssl-devel [platform:rpm]
libxml2-dev [platform:dpkg platform:apk]
libxml2-devel [platform:rpm]
libxslt-devel [platform:rpm]
libxslt1-dev [platform:dpkg]
libxslt-dev [platform:apk]
# RH Mechanisms
python-rhsm-certificates [platform: redhat]
podman [platform:rpm]
python-devel [platform:rpm !platform:rhel-8 !platform:centos-8]
python3-devel [platform:rpm !platform:rhel-7 !platform:centos-7]
PyYAML [platform:rpm !platform:rhel-8 !platform:centos-8]


+ 103
- 0
doc/source/readme.rst View File

@ -513,3 +513,106 @@ Finally add a role documentation file at
a title, a literal include of the defaults yaml and a literal include of
the molecule playbook, or playbooks, used to test the role, which is noted
as an "example" playbook.
Local testing of new roles
~~~~~~~~~~~~~~~~~~~~~~~~~~
Local testing of new roles can be done in any number of ways, however,
the easiest way is via the script `run-local-test` on a *CentOS 8* machaine.
This script will setup the local work environment to execute tests mimicking
what Zuul does.
.. warning::
This script makes the assumption the executing user has the
ability to escalate privileges and will modify the local system.
To use this script execute the following command.
.. code-block:: console
$ ./scripts/run-local-test ${NEWROLENAME}
When using the `run-local-test` script, the TRIPLEO_JOB_ANSIBLE_ARGS
environment variable can be used to pass arbitrary Ansible arguments.
For example, the following shows how to use `--skip-tags` when testing
a role with tags.
.. code-block:: console
$ export TRIPLEO_JOB_ANSIBLE_ARGS="--skip-tags tag_one,tag_two"
$ ./scripts/run-local-test ${ROLENAME}
Role based testing with molecule can be executed directly from within
the role directory.
.. note::
All tests require Podman for container based testing. If Podman
is not available on the local workstation it will need to be
installed prior to executing most molecule based tests.
.. note::
The script `bindep-install`, in the **scripts** path, is
available and will install all system dependencies.
.. note::
Some roles depend on some packages which are available only through the EPEL
repositories. So, please ensure you have installed them on your CentOS 8 host
before running molecule tests.
Before running basic molecule tests, it is recommended to install all
of the python dependencies in a virtual environment.
.. code-block:: console
$ python -m virtualenv --system-site-packages "${HOME}/test-python"
$ ${HOME}/test-python/bin/pip install -r requirements.txt \
-r test-requirements.txt \
-r molecule-requirements.txt
$ source ${HOME}/test-python/bin/activate
Now, it is important to install validations-common and tripleo-ansible as
dependencies.
.. code-block:: console
$ cd tripleo-validations/
$ for REPO in validations-common tripleo-ansible; do
git clone https://opendev.org/openstack/${REPO} roles/roles.galaxy/${REPO}
done
To run a basic molecule test, simply source the `ansible-test-env.rc`
file from the project root, and then execute the following commands.
.. code-block:: console
(test-python) $ cd roles/${NEWROLENAME}/
(test-python) $ molecule test --all
If a role has more than one scenario, a specific scenario can be
specified on the command line. Running specific scenarios will
help provide developer feedback faster. To pass-in a scenario use
the `--scenario-name` flag with the name of the desired scenario.
.. code-block:: console
(test-python) $ cd tripleo-validations/roles/${NEWROLENAME}/
(test-python) $ molecule test --scenario-name ${EXTRA_SCENARIO_NAME}
When debugging molecule tests its sometimes useful to use the
`--debug` flag. This flag will provide extra verbose output about
test being executed and running the environment.
.. code-block:: console
(test-python) $ molecule --debug test

+ 0
- 1
molecule-requirements.txt View File

@ -1,7 +1,6 @@
# this is required for the molecule jobs
ansi2html
ansible
docker
jinja2>=2.8.0,<3
molecule>=3.0,<3.1
pytest


roles/ceilometerdb_size/molecule/default/Dockerfile.j2 → roles/ceilometerdb_size/molecule/default/Dockerfile View File


+ 19
- 17
roles/ceilometerdb_size/molecule/default/molecule.yml View File

@ -1,37 +1,39 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools ruby python*-pyyaml
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


+ 21
- 18
roles/ceph/molecule/ceph-ansible-installed/molecule.yml View File

@ -1,39 +1,42 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
pkg_extras: python*-setuptools python*-pyyaml
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
vars:
ansible_user: root
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
name: ceph-ansible-installed


+ 1
- 1
roles/ceph/molecule/ceph-ansible-installed/prepare.yml View File

@ -24,6 +24,6 @@
yum_repository:
name: tripleo-centos-ceph-nautilus
description: ceph-nautilus repository
baseurl: http://mirror.centos.org/centos/7/storage/x86_64/ceph-nautilus/
baseurl: http://mirror.centos.org/centos/8/storage/x86_64/ceph-nautilus/
gpgcheck: false
enabled: true

+ 22
- 15
roles/ceph/molecule/default/molecule.yml View File

@ -1,33 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
easy_install:
- pip
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
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
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


+ 1
- 1
roles/check_network_gateway/molecule/default/Dockerfile View File

@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


+ 20
- 17
roles/check_network_gateway/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr epel-release ruby PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*setuptools python*-PyYAML iputils
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby epel-release iputils python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


+ 20
- 8
roles/check_rhsm_version/molecule/default/molecule.yml View File

@ -1,29 +1,41 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos8
hostname: centos8
image: centos:8
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
privileged: true
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
provisioner:
name: ansible
options:
vvv: true
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_ROLES_PATH: "${ANSIBLE_ROLES_PATH}:${HOME}/zuul-jobs/roles"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


+ 22
- 8
roles/check_rhsm_version/molecule/rhsm_mismatch/molecule.yml View File

@ -1,29 +1,43 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos8
hostname: centos8
image: centos:8
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
override_command: true
command: /sbin/init
privileged: true
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
provisioner:
name: ansible
options:
vvv: true
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_ROLES_PATH: "${ANSIBLE_ROLES_PATH}:${HOME}/zuul-jobs/roles"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/collect_flavors_and_verify_profiles/molecule/default/Dockerfile.j2 → roles/collect_flavors_and_verify_profiles/molecule/default/Dockerfile View File


+ 20
- 17
roles/collect_flavors_and_verify_profiles/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/container_status/molecule/default/Dockerfile.j2 → roles/container_status/molecule/default/Dockerfile View File


+ 20
- 17
roles/container_status/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
easy_install:
- pip
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
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
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/controller_token/molecule/default/Dockerfile.j2 → roles/controller_token/molecule/default/Dockerfile View File


+ 20
- 17
roles/controller_token/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools python*-pyyaml
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/controller_ulimits/molecule/default/Dockerfile.j2 → roles/controller_ulimits/molecule/default/Dockerfile View File


+ 19
- 5
roles/controller_ulimits/molecule/default/converge.yml View File

@ -19,20 +19,34 @@
hosts: all
gather_facts: false
vars:
nofiles_min: 102400
nproc_min: 204800
tasks:
- block:
- include_role:
name: controller_ulimits
vars:
nofiles_min: 102400
nproc_min: 512
rescue:
- name: Clear host errors
meta: clear_host_errors
- debug:
msg: The validation works for detecting nofiles_min!
- block:
- include_role:
name: controller_ulimits
vars:
nofiles_min: 512
nproc_min: 204800
rescue:
- name: Clear host errors
meta: clear_host_errors
- debug:
msg: The validation works! End the playbook run
msg: >-
The validation works for detecting noproc_min!
End of playbook run.
- name: End play
meta: end_play


+ 21
- 20
roles/controller_ulimits/molecule/default/molecule.yml View File

@ -1,39 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
ulimits: &ulimits
- nofile:512:512
- nproc:512:512
hostname: centos7
image: centos:7
pkg_extras: python-setuptools
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
ulimits: *ulimits
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- nofile=512:512
- nproc=512:512
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/ctlplane_ip_range/molecule/default/Dockerfile.j2 → roles/ctlplane_ip_range/molecule/default/Dockerfile View File


+ 20
- 17
roles/ctlplane_ip_range/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools python*-pyyaml
privileged: true
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby epel-release python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


+ 5
- 0
roles/ctlplane_ip_range/molecule/default/prepare.yml View File

@ -20,6 +20,11 @@
gather_facts: false
tasks:
- name: install python netaddr library
package:
name: python*-netaddr
state: installed
- name: install hiera
package:
name: hiera


roles/dhcp_validations/molecule/default/Dockerfile.j2 → roles/dhcp_validations/molecule/default/Dockerfile View File


+ 20
- 17
roles/dhcp_validations/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/healthcheck_service_status/molecule/default/Dockerfile.j2 → roles/healthcheck_service_status/molecule/default/Dockerfile View File


+ 20
- 17
roles/healthcheck_service_status/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/image_serve/molecule/default/Dockerfile.j2 → roles/image_serve/molecule/default/Dockerfile View File


+ 20
- 23
roles/image_serve/molecule/default/molecule.yml View File

@ -1,48 +1,45 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
etc_hosts:
undercloud.ctlplane.mydomain.tld: "127.0.0.1"
image: centos:7
dockerfile: Dockerfile
override_command: true
command: /sbin/init
privileged: true
pkg_extras: python-setuptools python-enum34 python-netaddr epel-release ruby PyYAML
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
etc_hosts:
undercloud.ctlplane.mydomain.tld: "127.0.0.1"
image: centos:8
override_command: true
command: /sbin/init
privileged: true
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby epel-release python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: ../../../../library
ANSIBLE_ROLES_PATH: ../../../../roles/roles.galaxy/tripleo-ansible/tripleo-ansible/tripleo_ansible/roles
ANSIBLE_ROLES_PATH: "${ANSIBLE_ROLES_PATH}:${HOME}/zuul-jobs/roles"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/ironic_boot_configuration/molecule/default/Dockerfile.j2 → roles/ironic_boot_configuration/molecule/default/Dockerfile View File


+ 20
- 17
roles/ironic_boot_configuration/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/mysql_open_files_limit/molecule/default/Dockerfile.j2 → roles/mysql_open_files_limit/molecule/default/Dockerfile View File


+ 20
- 17
roles/mysql_open_files_limit/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
easy_install:
- pip
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
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
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/network_environment/molecule/default/Dockerfile.j2 → roles/network_environment/molecule/default/Dockerfile View File


+ 20
- 17
roles/network_environment/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/neutron_sanity_check/molecule/default/Dockerfile.j2 → roles/neutron_sanity_check/molecule/default/Dockerfile View File


+ 20
- 17
roles/neutron_sanity_check/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
easy_install:
- pip
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
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
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/node_disks/molecule/default/Dockerfile.j2 → roles/node_disks/molecule/default/Dockerfile View File


+ 20
- 17
roles/node_disks/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/node_health/molecule/default/Dockerfile.j2 → roles/node_health/molecule/default/Dockerfile View File


+ 20
- 17
roles/node_health/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/nova_event_callback/molecule/default/Dockerfile.j2 → roles/nova_event_callback/molecule/default/Dockerfile View File


+ 20
- 17
roles/nova_event_callback/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
- host
provisioner:
name: ansible
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_LIBRARY: "../../../../library"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
scenario:
test_sequence:


roles/nova_status/molecule/default/Dockerfile.j2 → roles/nova_status/molecule/default/Dockerfile View File


+ 20
- 17
roles/nova_status/molecule/default/molecule.yml View File

@ -1,37 +1,40 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 PyYAML
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*-setuptools python*-enum34 python*-pyyaml
volumes:
<