Commit Graph

14 Commits

Author SHA1 Message Date
Hongbin Lu b97d49c9bb Allow executable "rm" in docs job.
Change-Id: I01e7fd361044a73c62fb00107260d82f3d2c67a3
2023-01-31 02:40:11 +00:00
Anand Bhat 06283974c4 Migrate from testr to stestr
* Replace .testr.conf by .stestr.conf for migration and update
  .gitignore and test-requirements.txt file accordingly
* Use py3 as the default runtime for tox

Change-Id: Ib24d7b90a20f3b56993c1faede020c015395a1be
2021-07-01 16:08:49 +05:30
Hervé Beraud 749acf98d6 Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removing specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.

This project meet the conditions leading to the bug.

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

Change-Id: I813c8d5c20b576911baea15fe9ae106e74500f3b
2021-01-07 17:32:29 +01:00
gujin 01d03bb71e Update "python setup.py build_sphinx" to build_sphinx
1. Update "python setup.py build_sphinx" to build_sphinx
2. Keeping going with docs

Change-Id: I729ae1a6c106cbc126d6d5849ed2f86673a29b4e
2020-05-21 09:28:27 +08:00
jacky06 5a193ab20f Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: I16995f9237168d16c834662876683760127aabb3
2020-05-06 13:28:00 +08:00
Andreas Jaeger 9043347888 Update docs building
Update docs building:
* Switch to sphinx-build
* Update requirements for Sphinx and openstackdocstheme for
  python 3
* Remove unneeded doc and translation sections from setup.cfg
* Remove install_command, it's unneeded, the default is fine.

Change-Id: I3d2e0459ba4aedf21c01d7725fe5ab266f9f4da3
2020-04-19 10:24:33 +02:00
Ghanshyam Mann ce8f9d7b5c Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

zun-tempest-plugin 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://review.opendev.org/#/c/691178/

Change-Id: If4cec36beab64c83a59ebc7cf5c98f3d15ba328b
2020-01-22 22:17:45 +00:00
chenke 7d4651cd75 Switch to the new canonical constraints URL on master
Reference:
1. http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: Ic5b29a42cbba665ae9f027e1618460190330bf23
2019-06-20 20:43:45 +08:00
jacky06 e4c84a9428 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I5bc44524d9f3487e3c73ed427afef641d6a17969
2019-04-26 10:03:46 +08:00
Nguyen Hai b0f5242c65 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I06200a75ace71bf88fe3449a21f5009b61295902
Story: #2002586
Task: #24347
2018-08-23 06:13:02 +00:00
wu.chunyang f5d91f0deb fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I35adb432bc130a2fe64095534c743faf1636b337
2018-06-11 22:37:06 +08:00
deepak_mourya 9d2b1234c8 Update tox.ini file
We should remove the pypy as it is not used for
the gate check now , and  can update py34 with the py35.

Change-Id: Ibd7df5a28f87979889eb9c2d6bd350c07e64d1a5
2018-02-15 09:48:31 +05:30
Kien Nguyen c797709736 Fix Zun-tempest-plugin's documentation
Change-Id: Iebb6f1604a0b02919ad7419f42b4ecab47486021
2017-12-19 10:08:03 +07:00
Hongbin Lu efe304dca8 Apply cookiecutter to newly split project
This tempest plugin is being split out of the main zun project in
accordance with Queens goal "Split Tempest Plugins into Separate
Repos/Projects"[1]. This patch applies the standard boilerplate files
for OpenStack projects so that it can stand on its own.

[1] https://governance.openstack.org/tc/goals/queens/split-tempest-plugins.html
2017-09-07 16:17:22 -04:00