Add cross-tests for nova

Test that building docs works with nova repo using
openstack-tox-docs.

Note that we cannot create a build-releasenotes cross-job since
the job does not allow from-source installs.

Rename the starlingx job to follow Zuul naming policy.

Dependencies:
726829: Fix siblings install with envdir in tox.ini (hard dependency)
728497: Output docstheme version (informational)

Depends-On: https://review.opendev.org/728497
Depends-On: https://review.opendev.org/726829
Change-Id: I87652c76fc473929ee06047e53f884e047420f32
This commit is contained in:
Andreas Jaeger 2020-05-15 09:26:50 +02:00
parent 31642dd188
commit 18615aefe8
2 changed files with 21 additions and 3 deletions

View File

@ -1,10 +1,23 @@
- job:
name: openstack-tox-docs-starlingxdocs
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
- project:
templates:
- check-requirements
@ -24,7 +37,8 @@
- ^.*\.txt$
- ^.*\.rst$
# Run the docs build using the starlingxdocs theme
- openstack-tox-docs-starlingxdocs
- openstackdocstheme-openstack-tox-docs-starlingxdocs
- openstackdocstheme-cross-nova-tox-docs
gate:
jobs:
- openstack-tox-pep8
@ -36,7 +50,8 @@
- ^openstackdocstheme/.*$
- ^.*\.txt$
- ^.*\.rst$
- openstack-tox-docs-starlingxdocs
- openstackdocstheme-openstack-tox-docs-starlingxdocs
- openstackdocstheme-cross-nova-tox-docs
post:
jobs:
- publish-openstack-python-branch-tarball

View File

@ -34,3 +34,6 @@ texlive-capt-of [platform:rpm]
texlive-needspace [platform:rpm]
texlive-polyglossia [platform:rpm]
latexmk [platform:rpm]
# For nova cross testing
graphviz [doc test]