Browse Source

Import docs build job

Import build-openstack-sphinx-docs job and convert to new
openstack-tox-docs job - using the build-openstack-docs-pti template.

Add tox docs environment for building docs.

Use templates for lower constraints jobs, sort template list
alphabetically.

Change-Id: I4888010e1b473d93f3cc48ed00b31da301068db8
Andreas Jaeger 6 months ago
parent
commit
1cd52aab62
2 changed files with 7 additions and 3 deletions
  1. 3
    3
      .zuul.yaml
  2. 4
    0
      tox.ini

+ 3
- 3
.zuul.yaml View File

@@ -1,12 +1,13 @@
1 1
 - project:
2 2
     templates:
3
+      - build-openstack-docs-pti
4
+      - check-requirements
5
+      - openstack-lower-constraints-jobs
3 6
       - openstack-python-jobs
4 7
       - openstack-python35-jobs
5 8
       - openstack-python36-jobs
6
-      - check-requirements
7 9
     check:
8 10
       jobs:
9
-        - openstack-tox-lower-constraints
10 11
         - legacy-tempest-dsvm-monasca-transform-python-functional:
11 12
             irrelevant-files:
12 13
               - ^(test-|)requirements.txt$
@@ -18,7 +19,6 @@
18 19
               - ^setup.cfg$
19 20
     gate:
20 21
       jobs:
21
-        - openstack-tox-lower-constraints
22 22
         - legacy-tempest-dsvm-monasca-transform-python-functional:
23 23
             irrelevant-files:
24 24
               - ^(test-|)requirements.txt$

+ 4
- 0
tox.ini View File

@@ -43,6 +43,10 @@ commands =
43 43
   flake8
44 44
   python setup.py check --restructuredtext --strict
45 45
 
46
+[testenv:docs]
47
+commands =
48
+  python setup.py build_sphinx
49
+
46 50
 [testenv:venv]
47 51
 commands = {posargs}
48 52
 

Loading…
Cancel
Save