From 18615aefe8af2bd79ed92a225735415e80bcff3d Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 15 May 2020 09:26:50 +0200 Subject: [PATCH] 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 --- .zuul.yaml | 21 ++++++++++++++++++--- bindep.txt | 3 +++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 89f9758..4ba611b 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -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 diff --git a/bindep.txt b/bindep.txt index ea64b8f..eadcace 100644 --- a/bindep.txt +++ b/bindep.txt @@ -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]