As CentOS 8 is not compatible with old ara, we installing new one isnted
Also providing py3 as default python for CentOS 8
Change-Id: I264e6f8bfa507668dada7b629af52a8a13001a45
Since bindep commit de6726520b1b ("bindep: Query for RPM capabilities as
well") we can now use RPM capabilities in the bindep.txt files and this
allows us to merge some of the existing RPM dependencies from SUSE and
RedHat. Moreover, drop the profile information from the gcc package
since it's common everywhere.
Change-Id: Ia040b1f87df9625e062a0f9ae2b0ef566138f463
With the removal of RHEL 6 STIG content for Trusty in the
ansible-hardening role in Queens, we no longer need any package
references for Ubuntu 14.04. This patch removes the reference
from bindep.txt.
Partial-Bug: 1715745
Change-Id: I37ff24baf16bee1d83b0c62d7764e59001fcb9b9
The build-essential meta-package is a very large
set. We only need gcc and the others listed in
order to support pip and Ansible. The fewer we
install via bindep, the greater the chance we
have of figuring out what's missing from each
role's distro package list.
Change-Id: I97f068eb1368fccb61be900625e5b5dcbf77d527
python2-pyOpenSSL is only available from the CentOS RDO QEMU repo
and that repo is not commonly installed on a basic CentOS 7 system.
It happens to be pre-installed in the OpenStack CI gates and that's
why this bindep file works.
However, this package installation fails on a normal CentOS 7
system and it can cause problems during deployment or testing.
The EPEL repository has a package called pyOpenSSL that provides
python bindings for OpenSSL on CentOS systems. That should be used
instead.
In addition, dnf will fail entirely with a bad exit code if a package
isn't found. The yum package manager will trudge on without errors.
Closes-Bug: 1708493
Depends-On: I2ac5a9c463991e4668a3e7608831c1944377e85e
Change-Id: I93de939304b57a211f2eb281365d5a591752be7d
Install the python3 OS packages so we can begin running py3 based
tox scenarios in the tested roles.
Change-Id: I77d0d58942492ad4185f62bc659e2fabeac065e0
bindep.txt does not understand rpm patterns yet so we need to avoid
them until such support is added. As such, we use explicit package
names for openSUSE Leap 42.2 in order for experimental openSUSE CI
jobs to start being useful.
The bindep rpm pattern support is discussed in
https://review.openstack.org/#/c/476851/ so this patch can be
simplified once this change is in and deployed in the OpenStack CI
nodes. For now, this change is needed to unblock the openSUSE CI jobs.
Link: https://review.openstack.org/#/c/476851/
Change-Id: I1694d18c685b5bf2ced8517e3f8f5de97fcd5c2f
python-apt and python-dnf are required by the ansible-hardening role
so add them to bindep.txt. The role also supports Fedora 25 and Ubuntu
Trusty so fix some packages for these distributions.
Change-Id: I28c009170cbb316c2cbddd2ca0fd72fff853c4af
Commit 15ed2ec42c ("bindep.txt: Use RedHat and SUSE platforms in
bindep.txt") added support for the new 'redhat' and 'suse' families
in bindep. However, this broke the SUSE case because the ndg-httpsclient
package name is different between RedHat and SUSE so we need to use
separate packages for these families.
Fixes: Commit 15ed2ec42c ("bindep.txt: Use RedHat and SUSE platforms in bindep.txt")
Change-Id: I36919b56b01a32ca8014377181fe9907fd901ea7
Newest bindep supports the 'redhat' and 'suse' platforms to group
together the CentOS, Fedora, RHEL and openSUSE, SUSE distributions
respectively. As such, update the bindep.txt file to use these
platforms and always require bindep>=2.4.0 which added support for them.
Change-Id: I5490c12db46afc6ad4ec359f9274df9551881219
Add support for CentOS 7 Vagrant VMs. This also updates the bindep.txt
file so it can be easier to copy it across OSA repositories.
Change-Id: Iaf2ef0a0d6278605ce411da0c55d3c667e77a588
Add support for testing ansible roles against openSUSE Leap 42.1.
This also improves the run_tests.sh script and also adds support for
openSUSE bindep dependencies. Finally, it adds a new BINDEP_FILE
variable which can be used to set an alternative bindep.txt dependency
file.
Change-Id: I57357b119eb1d8eb7726401b8feb48d1ae08c470
The volume of logs we collect in CI jobs are extensive. This
patch ensures that the logs collected are compressed to reduce
the space taken in CI systems.
PYTHONUNBUFFERED is also set to ensure that the console log
from the CI jobs is recorded in the exact order of execution.
Change-Id: I323987e281eff6245189109e6c4b17e999739b8c
Related-Bug: #1620849
Some Linux distributions, such as CentOS 7 and Xenial, have trouble
validating SSL certificates when using get_url with servers
that use Server Name Indication (SNI).
This patch adds those packages to the list of required packages and
uses bindep to install them in developer test environments the same
way that the gate tests install them.
Change-Id: Ibc90483b4d47e43c675f6696d8e0e6089d108f98
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
The ansible-func-centos-7-nv test fails because the package names for
dependencies are different in CentOS than Ubuntu.
This adds specific packages for dpkg and rpm based systems.
Change-Id: I2ab79fed6ec838d2302edc855957bb48d5178932