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.
The meta-deps never appeared to be used, meaning that the
openstack_openrc role was never used either, and given that
vars are missing to make that work, the role dep has been
removed.
The requirement for httplib2 to use the get_uri module was
removed in Ansible 2.1 [1], so the installation of that for
functional testing has also been removed.
The requirements.txt was not used anywhere, so it's been
removed. The test-requirements.txt has been updated.
[1] http://docs.ansible.com/ansible/latest/uri_module.html#notes
Depends-On: I0391ec310c4eede436011a48490e3c524c8ddf4d
Change-Id: I186b3d7a17f964192b593d2f8734b3458a3cb671
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: If3affe9c68ac5e9e0c6aa9674d6018043b5bac2a
Signed-off-by: Major Hayden <major@mhtx.net>