Commit Graph

12 Commits

Author SHA1 Message Date
Andreas Jaeger b92073453c Fix docs building
With Sphinx 2.0.1 working only with python3, update the configuration:
* Use openstackdocstheme (oslosphinx does not work with python3)
* Update requirements
* Update tox.ini to use normal lines for doc building

Also, fix URL for repo after OpenDev rename.

Fix flake8 tests, don't test openstack-ansible-tests files.

Change-Id: I464d04738aab137ea8e938614b804e1ac50f6741
2019-05-28 15:22:37 +02:00
Kevin Carter 034228e754
Update monitorstack to use updated openstacksdk and es
This change updates the functions so that they work with the most up to date
OpenStack SDK, and adds an elasticsearch output format.

Tests have been udpated to pass newer versions of flake8 and py3

Zuul project config has been added

Change-Id: If46d3fb8e2b2e4aa5e21bf7da470945b05d216cf
Signed-off-by: cloudnull <kevin@cloudnull.com>
2019-02-17 09:27:36 -06:00
Van Hung Pham 45aaaee923 Remove support for py33
The gating on python 3.3 is restricted to <= Mitaka.
This is due to the change from Ubuntu Trusty to Xenial,
where only python3.5 is available.
There is no need to continue to keep these settings.

Change-Id: Id04514d228a12eeb6725cd9a266eab9de01125e4
2017-06-23 16:06:39 +07:00
Major Hayden 39f070f4e7
Require 99% test coverage or higher
This patch sets a requirement of 99% test coverage or the CI job will
fail. This should force us to ensure we are testing as much of the
plugins and the core of monitorstack as possible.

Change-Id: I22aa19f0e0e4584c377e39f07c0aae2b0814d59a
2017-06-14 14:08:59 -05:00
Van Hung Pham b5f64655eb Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka.
This is due to the change from Ubuntu Trusty to Xenial,
where only python3.5 is available.
There is no need to continue to keep these settings.

Change-Id: If33b923a5725c16eca06bdd970ceb8e66740dbd0
2017-06-08 03:09:39 +00:00
Michael Rice 6eae6ea8db refactor testing directory layout
This changes the layout of the tests. Before both unit
and functional tests were in the same place. That made
it so development really needed to happen on linux because
of tests like uptime needing /proc/uptime This change
puts those kind of tests into the int testing dir
and adds a unit and integration test arg to tox.

Change-Id: I922079e4a556a171aadd801a8cc932e1e08f9b5d
Signed-off-by: Michael Rice <michael.rice@rackspace.com>
2017-05-31 21:11:29 -05:00
Major Hayden cf4a71bfee
Fix requirements to unblock gate
Something went sideways with flake8 recently with regards to pep257
(whitespace checks). This patch updates the flake8 requirement and
disables pep257 checks to unblock the gate.

Change-Id: I139c902a4d95a21a2dcac8dcf65a85455f7331ec
2017-04-19 08:36:58 -05:00
Major Hayden b616091eb9
Implement OpenStack gate for monitorstack
This patch configures the monitorstack repository to work well with
the OSA gate jobs for docs, release notes, and functional tests.

Change-Id: Ibacea5cdfab609c3724b434189a6efad4b1c6c35
2017-03-24 11:55:09 -05:00
Major Hayden c3a396daba Add PEP257 checks (#15)
Check for docstrings.
2017-03-09 15:48:18 -06:00
Major Hayden 15a719f112 Remove py26 from tox (#11) 2017-03-09 11:05:38 -06:00
Major Hayden 79aad09e1d Add py35 to tox.ini (#10) 2017-03-09 10:50:28 -06:00
Major Hayden 5f9ddd6dba Proof of concept 2017-02-27 15:11:30 -06:00