24 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
5ca7b2deca Updated from global requirements
Change-Id: I2d8befe34b1df4b6b68d89352ac317d18e1c56dc
2017-07-27 19:17:33 +00:00
ZhongShengping
e19f7343c8 Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow[0].

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: Ibe5c7ea2f4b545ecabfc94a4f0c3c83c9f98dc53
2017-07-03 16:16:48 +08:00
OpenStack Proposal Bot
3d80cd7fd5 Updated from global requirements
Change-Id: Iaeac17ad218322125f583c727e1d34f5bcc1666f
2017-06-27 13:27:23 +00:00
OpenStack Proposal Bot
8b5ade5a67 Updated from global requirements
Change-Id: Ia3c43a0eb007822c712d07d1ad63d743637d626e
2017-06-12 12:59:17 +00:00
OpenStack Proposal Bot
4ac0f21bbb Updated from global requirements
Change-Id: Ieb2d4196305f1aa135683ab403f0dbbea2962a4a
2017-06-10 21:44:45 +00:00
OpenStack Proposal Bot
0e9c46cafa Updated from global requirements
Change-Id: Iea329824086131193d80736b15dc3f5814db48d3
2017-06-02 22:03:22 +00:00
OpenStack Proposal Bot
84e1a104c0 Updated from global requirements
Change-Id: Iec236e309a8623de7d3081d1b73d754e74a591da
2017-05-17 03:55:00 +00:00
OpenStack Proposal Bot
1527892140 Updated from global requirements
Change-Id: I6a232eb2dac43825bec73f8a7b7505142989521f
2017-02-11 17:48:54 +00:00
OpenStack Proposal Bot
772f49fd70 Updated from global requirements
Change-Id: I5eb5ea52196a0bd68da6e9060b1125a91ebef2d3
2017-02-10 05:56:02 +00:00
OpenStack Proposal Bot
45a295170f Updated from global requirements
Change-Id: I1d3ce3530f679348cc31f3b64cf65cba581b94ad
2016-12-02 05:10:54 +00:00
OpenStack Proposal Bot
13520374b2 Updated from global requirements
Change-Id: Ib7b532d7475cded8cb52b4c6471496dd8c99808f
2016-11-02 15:37:47 +00:00
Nish Patwa
3822cff64b [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: Id0bab5c90d119bec40d1c745203d0c89ad7096f3
2016-10-18 17:09:57 +00:00
OpenStack Proposal Bot
dc63b5887d Updated from global requirements
Change-Id: I470b7473b6a8e70c53fbacdc24e90c5355183172
2016-09-30 02:22:15 +00:00
OpenStack Proposal Bot
5fc7c53097 Updated from global requirements
Change-Id: Id27363d98f1379bcdef78b986f50b9c05f400a6d
2016-08-18 05:30:54 +00:00
Jesse Pretorius
4cbd207865 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: Iadfe2b027c6d9cbd89d89d9ef0d6c514aaf2d1da
2016-08-16 13:36:23 +00:00
OpenStack Proposal Bot
c976a154a4 Updated from global requirements
Change-Id: I83ae8b97991c74c50f6b01892c3fb5f19e470d6c
2016-07-15 03:57:55 +00:00
Jesse Pretorius
46f1e9ed6d 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: I074de434b56abbdfe4202cfb8e55c296480a348a
Partially-Implements: blueprint osa-install-guide-overhaul
2016-07-13 12:56:06 +01:00
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
Jesse Pretorius
b0b43ce8f0 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: I30177d08214241d5db904906e0bd9d313a7d0ef9
2016-06-17 12:35:17 +01:00
Kevin Carter
e3d39b7228 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: I6f7ce2ff03daaaffd93fc306231cf9e763c4f61a
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-04-16 08:42:58 -05:00
Jesse Pretorius
f5f4621db2 Add reno scaffolding for release notes management
Change-Id: Idd59b182fcc81b79e5ccd6593351f773fbbd440a
2016-04-09 18:19:48 +00:00
Matt Thompson
98c06bd353 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: I2f99bd059fbbde4bb860d67327aca021d0bed88f
2016-03-15 15:59:04 +00:00
Michael Davies
f8eb0aebfe Ironic: Fix docs & linting tests
Unfortunately the first commit of os_ironic had broken tests. This patch
corrects the test configurations to ensure that the docs and lint tests
work.

As a temporary measure, functional testing is left as a place holder
to allow other patches to be worked on for this role while the functional
testing is being put together.

Change-Id: I38278155232a4e4d6ef259b79bd515fae2bc837b
Signed-off-by: Michael Davies <michael@the-davies.net>
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2016-02-24 02:25:52 +00:00
Jesse Pretorius
a200b5b3b3 Add required base test configs
This patch adds some extra configurations required in order for
tests on OpenStack-CI to work.

It also adds some basic changes to document content.
2016-01-05 13:28:19 +00:00