-
Notifications
You must be signed in to change notification settings - Fork 8
/
.zuul.yaml
89 lines (85 loc) · 2.81 KB
/
.zuul.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
- job:
name: openstackdocstheme-tox-docs-tips
parent: openstack-tox-docs
description: |
Build documentation for openstackdocstheme with main branch of important
libs. Takes advantage of the base tox job's install-siblings feature.
# The job only tests the latest and shouldn't be run on the stable branches
branches:
regex: ^stable/.*$
negate: true
required-projects:
- name: github.com/sphinx-doc/sphinx
vars:
# Set work dir to openstackdocstheme so that if it's triggered by one of
# the other repos the tests will run in the same place
zuul_work_dir: src/opendev.org/openstack/openstackdocstheme
- job:
name: openstackdocstheme-openstack-tox-docs-starlingxdocs
parent: openstack-tox-docs
vars:
tox_envlist: docs-starlingxdocs
tox_pdf_envlist: pdf-docs-starlingxdocs
- job:
name: openstackdocstheme-cross-nova-tox-docs
parent: openstack-tox-docs
description: |
Run cross-project tests on nova with
openstack-tox-docs.
vars:
zuul_work_dir: src/opendev.org/openstack/nova
sphinx_pdf_files: doc-nova.pdf
required-projects:
- openstack/nova
- openstack/openstackdocstheme
- job:
name: openstackdocstheme-cross-octaviaclient-tox-docs
parent: openstack-tox-docs
description: |
Run cross-project tests on nova with
openstack-tox-docs.
vars:
zuul_work_dir: src/opendev.org/openstack/python-octaviaclient
sphinx_pdf_files: doc-python-octaviaclient.pdf
required-projects:
- openstack/python-octaviaclient
- openstack/openstackdocstheme
- project:
templates:
- check-requirements
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-pep8
- build-openstack-api-ref:
# Override files section of the job so that this builds
# if we change the template.
files:
- ^tox.ini$
- ^api-ref/.*
- ^doc/.*$
- ^openstackdocstheme/.*$
- ^.*\.txt$
- ^.*\.rst$
- openstackdocstheme-tox-docs-tips
- openstackdocstheme-openstack-tox-docs-starlingxdocs
- openstackdocstheme-cross-nova-tox-docs
- openstackdocstheme-cross-octaviaclient-tox-docs
gate:
jobs:
- openstack-tox-pep8
- build-openstack-api-ref:
files:
- ^tox.ini$
- ^api-ref/.*
- ^doc/.*$
- ^openstackdocstheme/.*$
- ^.*\.txt$
- ^.*\.rst$
- openstackdocstheme-openstack-tox-docs-starlingxdocs
- openstackdocstheme-cross-nova-tox-docs
- openstackdocstheme-cross-octaviaclient-tox-docs
post:
jobs:
- publish-openstack-python-branch-tarball