Commit Graph

807 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
Ghanshyam Mann a25e4d491c Test python3.9 as voting job
In Yoga testing, we are making py3.9 job to run as voting, so
adding py3.9 job as voting.

Also, as openstack-health is branchless and needs to support older
supported stable branches, let's test it with all the
python version supported in those supported stable branches.
For that, we need to explicitly dd the py jobs instead of using
the template. This way, we will explicitly know that we are testing
all supported python versions when the new release template bumps the
min python version in the template.

Change-Id: I894984577bf8c83669c96fd627bb9767237c3f68
2021-11-03 20:36:37 +00:00
tushargite96 d7a49a6226 Switch testing to Yoga testing runtime
Upating the tetsing template to Yoga testing runtime:
https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: Ic856790ef1eeb69b111e7198ed55d4323f705110
2021-09-28 09:16:46 +05:30
Zuul b103b1d771 Merge "setup.cfg: Replace dashes with underscores" 2021-06-01 23:36:16 +00:00
Zuul 1565b9d917 Merge "Update IRC network to OFTC" 2021-06-01 16:41:55 +00:00
manchandavishal 2b0a7b5a42 Fix doc job
openstack-health doc job is failing as requires some font
'tgtermes.sty' to generate pdf doc. This patch adds that required
package in bindep.txt to fix doc job.

Change-Id: Id5efbf7c7fc048ce1842d8ea56b687d9a427bb7f
2021-06-01 20:45:11 +05:30
Ghanshyam Mann c21da9a593 Update IRC network to OFTC
Change-Id: I748f813ae1b06ba31b30560d6d30c6528f47738f
2021-06-01 07:26:55 +00:00
Anand Bhat 6357a2f9cb setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Ia1a1bc0cf2f8cba9af76b0b22be153f9e96bb6a8
2021-05-30 01:10:45 +05:30
Zuul f0a1a43895 Merge "Switch testing to Xena testing runtime" 2021-05-06 07:40:44 +00:00
Zuul 907f6995f0 Merge "bump py37 to py38 in tox.ini" 2021-05-06 07:37:42 +00:00
Zuul 32a452d7f2 Merge "Fix hacking min version to 3.0.1" 2021-04-29 16:36:21 +00:00
Martin Kopec 0256cdb2f5 Switch testing to Xena testing runtime
Upating the tetsing template to Xena testing runtime:
https://governance.openstack.org/tc/reference/runtimes/xena.html

Change-Id: Iebcb4e44951f1dbb0e2093ef363f77123bdf627c
2021-04-29 14:38:19 +00:00
maaoyu ab4b9e3ad2 bump py37 to py38 in tox.ini
in 'victoria' cycle, we should test py38 by default.

ref:
  https://governance.openstack.org/tc/reference/runtimes/victoria.html

Change-Id: I0aab034acf093391411cf76c858bc3c3b6a98cb1
2021-04-29 14:37:27 +00:00
tushargite96 7aa4fd65a2 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 python in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: Id018ab220cc95f39aea9cbce6880ba65f7f715f5
2021-02-25 23:22:05 +05:30
Zuul f23b3622f7 Merge "Create tox environment to build pdf documentation" 2021-01-22 16:01:15 +00:00
Zuul f489fbe8ae Merge "Replace assertItemsEqual with assertCountEqual" 2021-01-22 15:39:31 +00:00
Martin Kopec 23f9274a1a Cap pandas to < 1.2.0 to fix gates
pandas>=1.2.0 contains some changes in rounding numbers which makes
the following tests fail when executed by py38

 - test_get_numeric_data_diff_build_name
 - test_get_numeric_data_diff_build_name

with the following assert error

'2018-06-23T00:00:00': 4766.42225,
'2018-06-23T00:00:00': 4766.4222500000005,
                                 ++++++++
'2018-06-24T00:00:00': 4899.55725,
'2018-06-25T00:00:00': 5042.148499999999}}
                               ^^^^^^^^^

Change-Id: Icd33d84d94d58ba36b296d46f4397227fa36ef9c
2021-01-22 13:23:39 +00:00
Ghanshyam Mann 1abd0617a3 Fix followup comment from review 768227
Change-Id: I589b8443ed2584f05bbd2f6c94a891a16b22c9a1
2020-12-23 13:45:46 -06:00
Ghanshyam Mann b91c0054e4 Move openstack-health-nodejs10-run-test-browser to Firefox
openstack-health-nodejs10-run-test-browser job started failing on
chrome browser
- https://bugs.launchpad.net/stackviz/+bug/1909021

Horizon and its plugins also moved the nodejs browser jobs to
firefox now, let's move openstack-health jobs to firefox.

Closes-Bug: #1909021
Change-Id: I06476189c17323101b4904c3da52248ce04bfb83
2020-12-22 23:33:59 +00:00
Lukas Piwowarski 4f14a185aa Create tox environment to build pdf documentation
This patch enables building .pdf documentation using new 'pdf-docs'
tox environment. The newly created tox environment creates latex
source codes using sphinx-build and then builds the pdf
documentation using make.

Story: 2006070
Task: 35466

Change-Id: Iefa8795ba985f502f952001cdc616dae20847ef9
2020-09-24 10:10:13 +02:00
tushargite96 d1afb3d881 Switch testing to Victoria testing runtime
Upating the testing template from ussuri to victoria
testing runtime
- https://governance.openstack.org/tc/reference/runtimes/victoria.html

Change-Id: I2a3497bd064c12176b687e3ec10f36f7482dcac8
2020-09-17 10:13:43 +05:30
Zuul 9f1d09d333 Merge "Add py38 package metadata" 2020-09-16 14:32:09 +00:00
Ansi Jain 08922f91e7 Fix gate: define nodejs10 jobs
Openstack-health uses horizon nodejs template [1] to run
nodejs10- jobs Which is wrong because openstack-health is
not a horizon plugins and above template is only for horizon
plugins to run node-js jobs.
This patch remove horizon nodejs template from .zuul.yaml
and define a new job to run Nodejs10 jobs on gate.

Also drop support of py35.

[1] https://opendev.org/openstack/openstack-health/src/branch/master/.zuul.yaml#L3

Change-Id: Ia222ce7f52ee1cfd575ed5204088f0eee2fe903e
2020-09-15 08:34:51 -05:00
RA489 bbf7535534 Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I02dccb26c236506e9383446e7324cae457e92d1b
2020-09-08 10:37:25 +05:30
Zuul 6506c4d406 Merge "Fix typo in contributor guide" 2020-08-19 15:37:16 +00:00
Zuul 2a99d67fed Merge "Remove .testr.conf" 2020-07-30 23:13:26 +00:00
Zuul a2d113ca57 Merge "Use unittest.mock instead of third party mock" 2020-07-23 11:02:35 +00:00
gugug 29fe21adc4 Replace assertItemsEqual with assertCountEqual
assertItemsEqual was removed from Python's unittest.TestCase in
Python 3.3 [1][2]. We have been able to use them since then, because
testtools required unittest2, which still included it. With testtools
removing Python 2.7 support [3][4], we will lose support for
assertItemsEqual, so we should switch to use assertCountEqual.

[1] - https://bugs.python.org/issue17866
[2] - https://hg.python.org/cpython/rev/d9921cb6e3cd
[3] - testing-cabal/testtools#286
[4] - testing-cabal/testtools#277

Change-Id: I0247031614ae75c1fd9f93898b7fb57838eb593f
2020-07-12 11:15:31 +08:00
Andreas Jaeger 43a20b4f1b Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Iabe6f531dcae728331698e7c70ad81adb86315cf
2020-06-02 14:17:36 +02:00
Masayuki Igawa 245712a963
Remove .testr.conf
This commit removes .testr.conf since this repo already has
.stestr.conf. We just need .stestr.conf instead of .testr.conf.

Change-Id: I653acd763a9f3b4f946b9615c116c897c524b7cb
2020-05-19 15:55:24 +09: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
Zuul b0ea7bbf5a Merge "Cleanup py27 support" 2020-04-30 15:50:12 +00:00
Ghanshyam Mann 6bf9b0689c Fix typo in contributor guide
There are few typo in contributor guide which were
added recently.

Change-Id: Id3c316df1a79bd35eed162e3291ef31cc36b092f
2020-04-22 21:54:12 -05:00
Ghanshyam Mann 4467ef9bb6 [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Story: #2007236
Task: #38554

Change-Id: Ie1243ddff756372aba2c2b4fdbbea63287dfa8f8
2020-04-19 17:54:44 -05:00
Andreas Jaeger 596d2f0cf1 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine

Change-Id: Ied0e774f0efda76794ecfb0f67a5fd51bb380258
2020-04-11 14:58:46 +02: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
Ghanshyam Mann b15f68e52d [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

openstack-health is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Iaaef4a66fec148e882e3a6a984b07a80c7fb1285
2020-03-06 06:45:21 -06:00
manchandavishal a88c4fd073 Update nodejs to 10 LTS
This patch updates the zuul nodejs test jobs to use the
LTS version 10 of nodejs because nodejs4 version
run to xenial and we already switch to bionic. Horizon has
define a template for nodejs 10 job so using the same
template here.

Change-Id: I5fd09a0621a314e3ac508601ea1ec464e41b03b7
2020-03-05 05:53:10 +00:00
Zuul 468e166a3a Merge "Update sphinx dependency" 2019-07-18 09:00:41 +00:00
Zuul 8c59616b67 Merge "Update home-page" 2019-07-17 22:38:32 +00:00
Jonathan Herlin e1e56eef83 Remove Bugday from navbar
It seems like bugday was removed from the navbar in all other places
on status.openstack.org so this commit removes it from the menu.
It also seems like there is no backend configured for "/bugday"

Change-Id: I67e9271450ee7c98887759d0224cd26f72adabba
2019-07-17 12:19:01 +02:00
Corey Bryant d5be501b5c Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I539358df94913711fce888739318b173f5cc7799
Story: #2005924
Task: #34240
2019-07-15 13:14:04 -04:00
pengyuesheng 68323f7c25 Update sphinx dependency
Sphinx 2.0 no longer works on python 2.7,
so we need to start capping it there as well
depend on https://review.opendev.org/#/c/657890/

Change-Id: I4759dd3a5a9154978c874786b27aa17a37c3057f
2019-06-25 16:19:40 +08:00
Zuul 77a4dc7a0e Merge "Update angularjs libraries version" 2019-06-07 12:47:36 +00:00
wangqian c42c009975
Modify README.rst and tox.ini
Replace openstack.org URLs with opendev.org URLs

Change-Id: Iad34d786d182729cc9d7acd5fc51fbe8624140c3
2019-06-07 16:56:09 +09:00
huang.zhiping 6f1f3fdc28 Update home-page
Change-Id: Ib85dd9fec0b40666e20286f544e4ee09f2f4d24a
2019-05-28 04:30:46 +00:00
Masayuki Igawa 418ae6d68a
Use openstack theme for docs
This commit makes the doc use the openstack theme, and also adds
build-openstack-docs-pti job to ensure the tox job.

Change-Id: Iffa590d8325285094cd1d0bef9c5850616c9dedc
2019-05-16 12:52:58 +09: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