1217799b1b
This change adds molecule testing using a simple base job and pre|run playbooks. The test will be executed via a native zuul job and will ensure we're exercising all of the available code path's as provide by this role. Two molecule scenarios will be executed whenever any change is made to this role * default - runs through the typical main code path * login - tests a secure docker registry ensuring our login capabilities are never broken. Documentation in the readme has been added to show how local testing can be run. A bindep.txt file has been added to ensure zuul knows how to install our required base packages. Closes-Bug: #1835657 Related-Bug: #1833584 Change-Id: I48f74b69c5d29dce4a576fa96e79563a4b484469 Signed-off-by: Kevin Carter <kecarter@redhat.com>
34 lines
935 B
Plaintext
34 lines
935 B
Plaintext
# This file facilitates OpenStack-CI package installation
|
|
# before the execution of any tests.
|
|
#
|
|
# See the following for details:
|
|
# - https://docs.openstack.org/infra/bindep/
|
|
# - https://opendev.org/opendev/bindep/
|
|
#
|
|
# Even if the role does not make use of this facility, it
|
|
# is better to have this file empty, otherwise OpenStack-CI
|
|
# will fall back to installing its default packages which
|
|
# will potentially be detrimental to the tests executed.
|
|
|
|
# The gcc compiler
|
|
gcc
|
|
|
|
# Base requirements for RPM distros
|
|
gcc-c++ [platform:rpm]
|
|
git [platform:rpm]
|
|
libffi-devel [platform:rpm]
|
|
openssl-devel [platform:rpm]
|
|
python-devel [platform:rpm]
|
|
python2-dnf [platform:fedora]
|
|
python-virtualenv [platform:rpm]
|
|
|
|
# For SELinux
|
|
libselinux-python [platform:rpm]
|
|
libsemanage-python [platform:redhat]
|
|
|
|
# Required for compressing collected log files in CI
|
|
gzip
|
|
|
|
# Required to build language docs
|
|
gettext
|