This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.
Change-Id: Iace58c2c89d32e016ff15f0496f9053cdfd0ef3a
There is no distro specific code in this role so add CentOS and
openSUSE as supported distributions. This also updates the bindep.txt
run_tests.sh and Vagrantfile files from the openstack-ansible-tests
repository.
Change-Id: Iadc48f25573902fe15f40404e130db58e2f08f8c
The run_tests.sh script fails when it is run multiple times on CentOS.
The `bindep` run returns an empty list of packages and then `yum`
exits with an error since no packages were provided to install.
This patch checks the length of the `bindep` output and skips the `yum`
installation when the package list is empty.
The patch also cleans up some of the old cruft left over from previous
scripts and avoids repetition.
Change-Id: I54c759cc34a2892cd5308bbe402e6d7a32e6a119
Signed-off-by: Major Hayden <major@mhtx.net>
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: I3c985975db7616d400cf5fa2f72a91b2d996b226
Paramiko version 2.0 has been released. It now uses the Python library
cryptography. Installing this requires additional system packages. This
commit adds in the appropriate packages required by cryptography based
on its documentation [1].
An alternative approach would have been to constrain the version of
Paramiko however the project describes the 1.x versions as relying on
insecure dependencies [2].
[1] https://cryptography.io/en/latest/installation/
[2] http://www.paramiko.org/installing.html
Change-Id: I7bf37e8790ccadca88c3f54ebd09b5f47077fc8d
This Vagrantfile attempts to replicate the gate check
testing to the extent possible to allow developers to
run all tests locally in a Vagrant environment prior
to submitting changes for review.
Contributor documentation updated to demonstrate usage
of the Vagrantfile.
Change-Id: Iaf6cd27730521db648338cb297f8282b1eb71d05