Commit Graph

8 Commits

Author SHA1 Message Date
Clark Boylan fda05305bd Move from testr to stestr
Running `python setup.py test` and similar commands is no longer
supported by setuptools. These rely on testr anyway which has been
replaced by stestr in most places. Just switch to using stestr to avoid
these problems.

Note that we drop the coverage tox target since that requires a bit more
effort to setup now, but this was not used in CI and probably isn't
super important for a tool like grafyaml. It can be added back in if a
need arises in the future.

Change-Id: I86039d1d143b0199285d9195a3582640d447b36e
2023-09-19 11:06:17 -07:00
Ian Wienand 878b20898d Drop Python 2 support
This has bit-rotted as libraries have updated to Python 3 only.

Switch to hacking; some minor changes to regex-strings is all that is
required.

Drop py27 markers and move to Python 3 only.  Update requirements.

Depends-On: https://review.opendev.org/737666
Change-Id: Iabf201965129b3284166e1aedcb9f1c9d6109077
2020-06-24 11:52:23 +10:00
Ian Wienand 59247628c4 Update documentation
Add some expanded documentation on what grafyaml actually does to
README.rst

While we're here, fix this up to use openstackdocs theme and the
latest sphinx, as it was producing a bunch of warnings.

Change-Id: I570b44cb911cd48d53d62234426edeabb22b1469
2018-06-04 20:42:30 +10:00
Swapnil Kulkarni (coolsvap) e7f598952e Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: Id996a5987a3c2136182908c54c2e550fc0daaac6
2016-07-22 04:56:04 +00:00
Jenkins 1444e69538 Merge "Add test coverate for grafana.py" 2015-10-01 13:52:18 +00:00
Paul Belanger 103a882cbf Add caching support
Like we do with JJB, we create a md5sum of the dashboard then cache
it.  This is a simple way to determine if a yaml file has changed.

Change-Id: If7b80b84c5bbcb0d30b0325bae6b8e726bb2f41b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-09-29 11:34:31 -04:00
Paul Belanger 29c17b9d23 Add test coverate for grafana.py
Previous to this we actually didn't install our requests dependency.
So grafyaml actually didn't work :( Now we have basic coverage with
mock.

Change-Id: I771ea12e444ea851d76983df75f69d1569653f9d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-09-25 13:03:53 -04:00
Paul Belanger f65385a578 Initial Cookiecutter Commit. 2015-05-04 13:14:07 -04:00