Commit Graph

17 Commits

Author SHA1 Message Date
Ghanshyam Mann d58ee7fb08 Retire openstack-health
openstack-health is QA repo and service to know the
job/test success/failure rate. But for a long (more than
a year), this code is broken. We do not have any maintainer
in QA to fix and maintain it. As it is broken, QA and infra team
agree to stop the service

- http://status.openstack.org/openstack-health/#/

In QA zed PTG, we decided to retire the repo also

- https://etherpad.opendev.org/p/qa-zed-ptg

Needed-By: https://review.opendev.org/c/openstack/governance/+/836706
Change-Id: Ie15aa8e469b0bb3aff47dcad422c0676fea640d2
2022-04-05 18:47:38 -05:00
Zuul 32a452d7f2 Merge "Fix hacking min version to 3.0.1" 2021-04-29 16:36:21 +00:00
Zuul a2d113ca57 Merge "Use unittest.mock instead of third party mock" 2020-07-23 11:02:35 +00:00
Ghanshyam Mann 7950101d5e Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: Ifcf204b037130057dc27e42d10473c1b3e45c922
2020-05-12 21:55:27 -05:00
Andreas Jaeger 25221afc72 Update to hacking 3.0
Hacking 3.0 was just released with minor changes, update to the new
version.

Change-Id: Ic74e8c6569dff0f49ae0e43ca15d3a6315d94074
2020-03-30 17:38:28 +02:00
Andreas Jaeger c889b33ecc Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.

Fix problems found.

Change-Id: I4418c77b622f0a0f2f729b957cceb577d20f30d9
2020-03-28 12:16:40 +01:00
Sean McGinnis 711c267bca
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock modules instead of the third party mock lib.

Change-Id: I328fd430e61b666147095f860d02a2badcfd3072
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-13 12:03:07 -05:00
wangqian 2ffbcd1484 Move doc related modules to doc/requirements.txt
Because sphinx and oslosphinx module is not for the unit test.
I remove sphinx and oslosphinx from test-requirements.txt.
Add doc/requirements.txt and modify doc/source/_static/conf.py

Beacause of the build of py27 is failed(Zuul), I write this patch.

Change-Id: I306795ca0192675d8ffb9bbc2f1fa04165a45209
2019-05-16 10:55:03 +08:00
Masayuki Igawa 14bfbbfc09
Switch to use stestr instead of ostestr
This commit switches to use stestr[1] instead of ostestr. We don't need
to use ostestr layer because we can use stestr directory.

[1] https://github.com/mtreinish/stestr

Change-Id: I566dca2f3052520a09558bf315b433984c221034
2017-10-17 17:04:45 +09:00
Andreas Jaeger 40d322d283 Sync requirements to fix docs jobs
building of docs fails due to incompatibilities between sphinx and other
packages. Sync requirements with global requirements, this fixes the
build problems.

Change-Id: I2060945854515fa54a8c5e3e9598a9255e5493e4
2017-08-04 21:14:58 +02:00
Dong Ma da1186f592 Fix nodejs4-npm-run-test and docs failure
The angular.js 1.6.0 release have two breaking changes caused the
test failures, you can check the detail changelog[0].
JSONP requests now require a trusted resource URL[1]
JSONP callback must be specified by jsonpCallbackParam config[2]

[0] https://github.com/angular/angular.js/blob/master/CHANGELOG.md#160-rainbow-tsunami-2016-12-08
[1] 6476af83cd
[2] fb66341871

The docutils 0.13.1 release breaks some documentation jobs
when it tries to build docs with remote images. This has been reported
upstream[3]. The version matches the supported docutils versions for
sphinx. The requirements patch is here: [4]

[3] https://sourceforge.net/p/docutils/bugs/301/
[4] https://review.openstack.org/#/c/409529/

Change-Id: If2b24303a60f8452a8ae8b7b3be36fa9b2541880
2017-01-15 09:41:40 -08:00
Matthew Treinish 04610c054e
Remove storing xml files on each feed generation
This commit removes the file storing from the rss endpoint. The code
is buggy and also a potential sec issue. It also isn't actually needed
as most (if not all) rss reader will handle missing entries fine, as
long as the ids are unique it shouldn't matter. So even if we lose old
entries on a crash or restart it won't be an issue.

Change-Id: I595abc566880ae6c778b00affde12e2227c9ec35
2016-04-21 23:06:30 -04:00
Masayuki Igawa 80ec3f76d1 Update requirements
This commit updates the requirements that comes from global
requirements. But some of libraries are not in global-requirements[1].
So I've added the licenses for them. And we may need to add them to
global-requirements later.

[1] flask-jsonpify, numpy, pandas, subunit2sql

Change-Id: I05a04406f966917e35c91aca3f8b0cd870e9a498
2016-01-29 11:46:18 +09:00
Matthew Treinish cde573acb8
Add unit tests for rest api and fix docs
This commit adss the basic framework for unit tests of the rest api
and 2, yes 2, unit tests to cover the /runs and /tests endpoints.
This will be expanded in the future, but this is to just give us a
starting point as we expand the api.

Additionally, to unblock the repo this adds missing tox envs which
are needed to pass the docs job. It also takes care of the other
missing pieces to pass a build sphinx run.

Change-Id: Id46476285612789e3b7817eacc45125cf6c3a548
2015-09-15 23:39:20 -04:00
Matthew Treinish c8011fd24b
Add python bits to the repo
This commit adds the basic python infrastructure to the repo. The
backend rest api on top of the data stores will live in the repo
but before we can add that we need to be able to support python code
in the repo.

Change-Id: I869f42e148c2f5c2369fb5613d43b4ec25aaa2db
2015-09-14 19:06:08 -04:00
David Lyle edaf92d16d removing python elements 2015-09-14 14:08:12 -06:00
Tim Buckley ea266aa617 Add stub unit tests from cookiecutter 2015-08-03 10:37:55 -06:00