503ba6a970
In https://review.openstack.org/520065 the lint tests were updated to make use of the tests repo for all linting. This works nicely within OpenStack-CI, but fails when trying to do it by hand due to missing packages on the hosts. It also requires the tester to install some things beforehand. To align this repo with the way the role tests run, we implement the same mechanism as used in the roles to prep the host using the run_tests.sh script and the appropriate bindep entries. Change-Id: Ia1c0a7374d8027d0f0772f393b462ee807ea2090
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
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://git.openstack.org/cgit/openstack-infra/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 Ubuntu
|
|
git-core [platform:dpkg]
|
|
libssl-dev [platform:dpkg]
|
|
libffi-dev [platform:dpkg]
|
|
python2.7 [platform:dpkg]
|
|
python-apt [platform:dpkg]
|
|
python-dev [platform:dpkg]
|
|
python3 [platform:dpkg]
|
|
python3-apt [platform:dpkg]
|
|
python3-dev [platform:dpkg]
|
|
|
|
# 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]
|
|
|
|
# For SELinux
|
|
libselinux-python [platform:redhat]
|
|
libsemanage-python [platform:redhat]
|
|
|
|
# Required for compressing collected log files in CI
|
|
gzip
|