Role Ironic for OpenStack-Ansible
Go to file
Jesse Pretorius ff280f7957 Update tox configuration
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: I6ae5a5e1beab62992dc7cf35fa85057a2c648851
2016-07-08 13:35:37 +01:00
defaults Merge "Add 16.04 support" 2016-06-02 21:02:00 +00:00
doc Add required base test configs 2016-01-05 13:28:19 +00:00
files updated Ironic role to fix tftp-hpa issues 2016-04-13 11:14:11 +00:00
handlers Ansible 2.x - Address deprecation warning of bare variables 2016-04-19 14:56:13 -04:00
meta Remove pip_lock_down dependency 2016-06-08 21:08:25 -05:00
releasenotes Add 16.04 support 2016-06-02 14:39:39 +00:00
tasks Fix ansible-lint complaint about directory permissions 2016-07-05 23:33:54 -07:00
templates Add 16.04 support 2016-06-02 14:39:39 +00:00
tests Clean up container cache prep in tests 2016-06-17 19:28:27 +01:00
vars Add 16.04 support 2016-06-02 14:39:39 +00:00
.gitignore Add .swp files to .gitignore 2016-05-04 15:18:16 +01:00
.gitreview Update .gitreview for project rename 2016-06-03 18:14:57 -07:00
CONTRIBUTING.rst Add required base test configs 2016-01-05 13:28:19 +00:00
LICENSE Initial commit 2015-10-19 15:08:19 +10:30
local_install.sh General cleanup, incl. copyright headers 2015-11-27 12:59:56 +10:30
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 08:54:15 +01:00
README.rst Add required base test configs 2016-01-05 13:28:19 +00:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 08:54:15 +01:00
setup.cfg Add required base test configs 2016-01-05 13:28:19 +00:00
setup.py Add required base test configs 2016-01-05 13:28:19 +00:00
test-requirements.txt Update tox configuration 2016-07-08 13:35:37 +01:00
tox.ini Update tox configuration 2016-07-08 13:35:37 +01:00

Ironic Role for OpenStack-Ansible

This is a role for the deployment of Ironic in an OpenStack-Ansible environment.

Please see the role-ironic spec for more details.