Skip to content

Commit 42e0037

Browse files
committed
Update new documentation PTI jobs
For compliance with the Project Testing Interface as described in [1]. For more detailed information, please refer to [2]. [1] https://governance.openstack.org/tc/reference/project-testing-interface.html [2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I7e8c47dead1e019e8705db3ff7559dd39b1d90d9
1 parent 5e00034 commit 42e0037

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

doc/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
openstackdocstheme>=1.17.0 # Apache-2.0
2+
reno>=2.5.0 # Apache-2.0
3+
sphinx>=1.6.2 # BSD

test-requirements.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@ coverage!=4.4,>=4.0 # Apache-2.0
77
fixtures>=3.0.0 # Apache-2.0/BSD
88
flake8-import-order==0.13 # LGPLv3
99
mock>=2.0.0 # BSD
10-
openstackdocstheme>=1.17.0 # Apache-2.0
1110
oslotest>=1.10.0 # Apache-2.0
12-
reno>=2.5.0 # Apache-2.0
1311
requests>=2.14.2 # Apache-2.0
1412
requests-mock>=1.1.0 # Apache-2.0
15-
sphinx>=1.6.2 # BSD
1613
stevedore>=1.20.0 # Apache-2.0
1714
os-client-config>=1.28.0 # Apache-2.0
1815
stestr>=1.0.0 # Apache-2.0

tox.ini

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,20 @@ commands =
105105
oslo_debug_helper -t openstackclient/tests {posargs}
106106

107107
[testenv:docs]
108-
commands = python setup.py build_sphinx
108+
deps =
109+
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
110+
-r{toxinidir}/requirements.txt
111+
-r{toxinidir}/doc/requirements.txt
112+
commands =
113+
sphinx-build -b html doc/source doc/build/html
109114

110115
[testenv:releasenotes]
111-
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
116+
deps =
117+
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
118+
-r{toxinidir}/requirements.txt
119+
-r{toxinidir}/doc/requirements.txt
120+
commands =
121+
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
112122

113123
[flake8]
114124
show-source = True

0 commit comments

Comments
 (0)