openstackdocstheme/.zuul.yaml
Andreas Jaeger 18615aefe8 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
2020-05-16 17:59:32 +02:00

58 lines
1.7 KiB
YAML

- 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
- 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$
# Run the docs build using the starlingxdocs theme
- openstackdocstheme-openstack-tox-docs-starlingxdocs
- openstackdocstheme-cross-nova-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
post:
jobs:
- publish-openstack-python-branch-tarball