9a104b5158
In order to prepare for implementing requirements management by the OpenStack requirements management process, and to improve the reliability and effectiveness of test execution, this patch implements some changes to the tox configuration: - The minimum tox version is increased in order to be able to use constraints for the python packages. - The OpenStack upper-constraints are used when preparing the test venv for the linters checks. - Any proxy environment variables set on the test host are passed into the venv to enable testing from behind a proxy. - The environment variables used by Ansible tests are moved into a new venv called 'ansible' and this environment is inherited by all Ansible-related tests. - The docs test will clean-up an existing build directory before executing the docs build. - The releasenotes build cannot use upper-constraints at this point, so it doesn't. - The Ansible role download will no longer ignore errors so that any problems discovered will result in a failed test. - The human readable logging callback plugin is implemented for functional testing. - The ansible test requirements are moved into tox.ini to ensure compliance for requirements.txt/test-requirements.txt for the global-requirements management contract. - The ~/.ansible directory as a whole is not deleted. Instead only the plugins and roles folders are deleted to ensure that zuul's Ansible artifacts are left in-place. - The ansible-lint version is updated to support execution against a folder, and the test now executes against the entire role to ensure that it captures all applicable files for lint testing. This is a combined port of the following: - https://review.openstack.org/323507 - https://review.openstack.org/338193 - https://review.openstack.org/332443 - https://review.openstack.org/338193 - https://review.openstack.org/339493 Change-Id: I7b68b4ccaf655e14a56804e3a004bb5abd4ec455
49 lines
1.5 KiB
YAML
49 lines
1.5 KiB
YAML
- name: apt_package_pinning
|
|
src: https://git.openstack.org/openstack/openstack-ansible-apt_package_pinning
|
|
scm: git
|
|
version: master
|
|
- name: pip_install
|
|
src: https://git.openstack.org/openstack/openstack-ansible-pip_install
|
|
scm: git
|
|
version: master
|
|
- name: galera_client
|
|
src: https://git.openstack.org/openstack/openstack-ansible-galera_client
|
|
scm: git
|
|
version: master
|
|
- name: galera_server
|
|
src: https://git.openstack.org/openstack/openstack-ansible-galera_server
|
|
scm: git
|
|
version: master
|
|
- name: lxc_container_create
|
|
src: https://git.openstack.org/openstack/openstack-ansible-lxc_container_create
|
|
scm: git
|
|
version: master
|
|
- name: lxc_hosts
|
|
src: https://git.openstack.org/openstack/openstack-ansible-lxc_hosts
|
|
scm: git
|
|
version: master
|
|
- name: memcached_server
|
|
src: https://git.openstack.org/openstack/openstack-ansible-memcached_server
|
|
scm: git
|
|
version: master
|
|
- name: openstack_hosts
|
|
src: https://git.openstack.org/openstack/openstack-ansible-openstack_hosts
|
|
scm: git
|
|
version: master
|
|
- name: openstack_openrc
|
|
src: https://git.openstack.org/openstack/openstack-ansible-openstack_openrc
|
|
scm: git
|
|
version: master
|
|
- name: os_keystone
|
|
src: https://git.openstack.org/openstack/openstack-ansible-os_keystone
|
|
scm: git
|
|
version: master
|
|
- name: rabbitmq_server
|
|
src: https://git.openstack.org/openstack/openstack-ansible-rabbitmq_server
|
|
scm: git
|
|
version: master
|
|
- name: os_tempest
|
|
src: https://git.openstack.org/openstack/openstack-ansible-os_tempest
|
|
scm: git
|
|
version: master
|