23 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
6ac83ba587 Updated from global requirements
Change-Id: I43d8347229bfe44490307b79f590840c89dafe25
2017-06-12 12:58:25 +00:00
OpenStack Proposal Bot
aabfe39a04 Updated from global requirements
Change-Id: I41389931a6a9683268d2648943fe5cdd74f16c15
2017-06-10 21:43:55 +00:00
OpenStack Proposal Bot
2aaedec55f Updated from global requirements
Change-Id: I12c35ab7eec1f04a5e5a43e8848c2f782ca2ef99
2017-06-02 22:02:33 +00:00
OpenStack Proposal Bot
e05b6a85f2 Updated from global requirements
Change-Id: Ia4f1af92b3abc817487ed5450202d7cad2dbb278
2017-05-17 03:54:18 +00:00
OpenStack Proposal Bot
e605fa95eb Updated from global requirements
Change-Id: Ifab71bceb27b070051b42bfb7513249bf3db3a7b
2017-02-11 17:48:15 +00:00
OpenStack Proposal Bot
2a2062c2bb Updated from global requirements
Change-Id: Ic3105033bf233313a6edf00f6044069e3eba485e
2017-02-10 05:55:23 +00:00
OpenStack Proposal Bot
b4e128e184 Updated from global requirements
Change-Id: I0b0e4a03f22c24beb47957767b4b174731140845
2016-12-02 05:10:17 +00:00
OpenStack Proposal Bot
8d4cf33796 Updated from global requirements
Change-Id: I0b0aea5d52f6e0e4d8d331030fdbcedc13338105
2016-11-02 15:37:14 +00:00
Nish Patwa
be26446d99 [DOCS] Added release-name as a watermark to Docs.
Added a water mark to the role documentation
to make clear to deployers which release they're
working with.

Modified conf.py that adds watermark to the documentation according
to particular branch. If the current branch is master than
watermark is 'Pre-release' and if the current branch is
stable/<release-name> than watermark is <release-name>.

This is a combined implementation based on the following
patches:
- https://review.openstack.org/372565
- https://review.openstack.org/382637
- https://review.openstack.org/384140

Change-Id: Icc1c4f2c26df08aefcf6cc613232e650162e665e
2016-10-18 18:17:24 +00:00
OpenStack Proposal Bot
81f2f88fbf Updated from global requirements
Change-Id: I4a9ea18162ec3b32d51f0719556f3b42a0e066d7
2016-10-10 20:45:51 +00:00
Nish Patwa
df246885d0 [DOCS] Added release-name as a watermark to Docs.
Added a water mark to galera role documentation
to make clear to deployers which release they're
working with.

Modified conf.py that adds watermark to the documentation according
to particular branch. If the current branch is master than
watermark is 'Pre-release' and if the current branch is
stable/<release-name> than watermark is <release-name>.

This is a combined implementation based on the following
patches:
- https://review.openstack.org/372565
- https://review.openstack.org/382637
- https://review.openstack.org/384140

Related-Bug: #1624489
Change-Id: Idf26db677a71bc9b3e1d22b4ca86bb7d2e5cd232
2016-10-10 08:09:18 +00:00
OpenStack Proposal Bot
1c0bec228f Updated from global requirements
Change-Id: Iad5b0edc6c5146350464c2597fd025e08b61a778
2016-09-29 22:36:23 +00:00
OpenStack Proposal Bot
2e1cf58277 Updated from global requirements
Change-Id: Icfa816c270439a4ddada7052d07ae4103cbe61ce
2016-08-19 19:50:57 +00:00
Jesse Pretorius
49006d70cf Add python packages for SNI support in tests
This adds python packages required for SNI support to ensure that tox
installs the packages into the venv when running tests.

Change-Id: Ic3b2f300e8f45255b4966f3f1cdb4d80ad799098
2016-08-16 14:26:41 +00:00
OpenStack Proposal Bot
1763be707f Updated from global requirements
Change-Id: Ifeeaa855e56114b97fed21c150393bf5d0b1911b
2016-07-15 03:57:25 +00:00
Jesse Pretorius
bcd2b9d5c4 Implement doc8 checks for docs
In order to prepare for the move of detailed configuration
content from the install guide to the roles, doc8 checks
are being implemented in the roles to ensure that any new
content submitted is properly checked.

Change-Id: I4c1be882868247a3a4d8795246f0b22dfa381837
Partially-Implements: blueprint osa-install-guide-overhaul
2016-07-13 12:53:53 +01:00
Jesse Pretorius
8e48a2ebf0 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: I44d9a6f75c582924c509c24acc070bbbb817aaaa
2016-07-08 13:33:16 +01:00
Jesse Pretorius
08ce66f4ae Pin test-requirements to match OpenStack requirements
A new release of flake8 is causing lint faiures. Our requirements
should match OpenStack requirements anyway.

This patch pins to the current master requirements from the
OpenStack requirements repository using global-requirements.

Change-Id: If99c8d22742b5540073368e57ad241d87fc74404
2016-06-17 12:33:10 +01:00
Kevin Carter
c8b8902402 blacklist Ansible 1.9.6
This version of ansible is broken due to the following upstream
Ansible issue:
  * https://github.com/ansible/ansible-modules-extras/issues/2042

Change-Id: Ib152a63da6354974752e929cbf5cee71301db5c9
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-04-16 08:47:09 -05:00
Jesse Pretorius
4cff43f12d Add reno scaffolding for release notes management
Change-Id: I3949d724ce4e80001fbaa45683a6c8de8e08bb3f
2016-04-14 01:50:36 +00:00
Travis Truman
f1c94040a1 pin version of ansible-lint we use for testing
Latest release of ansible-lint 2.4.0 has broken
role linter tasks by introducing a dependency on
openstack-ansible-plugins for all linting

While we may choose to adapt the linter tox env
in the future, for now we want to return to previous
linter behavior.

Change-Id: Ib08942acc92da49ac06792170f0bc59328041af0
2016-03-15 12:18:59 -04:00
Jesse Pretorius
5bcdd4b772 Update tox config and add bashate E006, E040 exceptions
This patch updates the tox.ini the same bashate exceptions as are
currently in the OpenStack-Ansible playbook repo.

It also ensures that the linters and all lint targets work
appropriately and normalises the tox.ini configuration to use
uniform formatting.

The use of ansible.cfg is removed as there is no way of being
certain which paths can be used without reverting to an ugly
sed hack in the commands. This is why it is preferred to make
use of environment variables which make use of tox's default
substitutions instead. It's a more reliable way of achieving
the goal for the purpose of gating and testing.

The switch to using a git clone instead of ansible-galaxy to
download the plugins is due to the path spec not being able to
work in Ansible 2.x. [1]

[1] https://github.com/ansible/ansible/issues/13563

Change-Id: I077c5b79a95e78fd81c33382843273893d48bbb6
2016-02-12 10:47:56 +00:00
Jesse Pretorius
39e9e097d1 Merge bashate/pep8 lint jobs in common job
Instead of launching two separate build jobs in our CI infrastructure,
one for bashate and one for pep8, launch a single one. While the jobs
are short, the setup of the images takes a long time, so this is
friendlier to our CI infrastructure.

Use the pep8 environment as common lint target and merge the bashate job
into it.

This patch also renamed dev-requirements to test-requirements to bring it
into line with all other OpenStack projects.

Change-Id: Ie1181799082b36d59dfaf4bf9446c06bd70696b7
2016-01-18 10:21:46 +00:00