As repo_build role has been succesfully replaced with
python_venv_build role, we have no need in it's futher maintaining and
releasing.
Depends-On: https://review.opendev.org/717715
Change-Id: Iaf1d6da8192afbbd18c64e2b58d54fa5804fe43c
This patch consumes the test scripts implemented by
https://review.openstack.org/375061 to ensure that
the tests and test preparation is consistent and
more maintainable.
Change-Id: I32e796d6166b27ea2df897d4a6f13183ea482e97
This patch provides the ability for the repo server to take advantage
of a pre-staged git cache on the deployment host, such as that provided
on OpenStack-CI's nodes.
This reduces the execution time of the build process by:
- only executing a repo clone for invalid or missing repositories
- only updating the clone if the existing clone doesn't already have
the version required
Due to the way OpenStack-CI stages the cache (from a file based origin
which is not accessible) it is also necessary to adjust the origin
remote instead of creating a new remote as was done previously,
otherwise the 'git fetch' execution would fail.
The patch includes changes to the tests to pre-stage two repositories
and mangle them intentionally to test the resilience of the clone
process.
Change-Id: Ibe70ba27b9a716e9385a5db46cd745bc0d538d63
The following changes have been made to reorganize the structure of this
role's test playbooks, bringing them into line with other
OpenStack-Ansible roles:
- move each playbook to an individual file
- rename playbooks descriptively
- define hosts and groups directly in the inventory file
- include group and test vars required by containers
- create a separate bridge, br-mgmt, for the management network
interface of containers
- enable verbose logging for functional test output
Change-Id: Idfdae98a423e19a1ed0eb05ab3d0f497b9fbeaaf
This change is required because without it the client libraries
used to build the MySQL-Python packages will depend on the base
system and they will be wrong.
This is an example of the issue:
http://paste.openstack.org/show/492788/
This will cause multi node production issues when building a
standalong repository outside of the the OpenStack gate.
Closes-Bug: #1565128
Change-Id: I6536993523f02ba49da741b9ea21535eb33fe402
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
The repo_build process is slow and can do with some improvement.
To achieve better speed of execution some several slow tasks,
as profiled by the integrated gate have been moved into executable
scripts using jobs. These scripts are generated from the playbooks
and the Jinja2 variables created during the repo_build run time and
make it possible to perform multiple actions in parallel. In test
the results were significantly faster[0].
The test case has been updated to build all of the packages known
to exist and be required for a real OpenStack environment.
[0] - http://paste.openstack.org/show/491537/
Change-Id: I3a1872741a17dee25054a340859333b96203ca15
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
The review updates the base repo for IRR functional testing.
The current test structure is a simple pass until actual tests
are created. This change also pulls in the updates from review
https://review.openstack.org/#/c/284896/11 This role will not
function without these changes.
Change-Id: I05809190c38b113bab1ac14616d3a2d51a58e22f
Implements: blueprint independent-role-repositories
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>