Create publish-openstack-python-docs-infra
We need an infra specific docs job as it works a little different then unified docs. Copypasta for now, then we can update zuul project to use this job, and rework the existing publish-openstack-python-docs job. Change-Id: Ifc75c7006a79787419cda5d611aa74fbb7ae0b06 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
44a6bc916d
commit
8d3334bbeb
@ -1,6 +1,6 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- prepare-docs-for-afs
|
||||
- prepare-infra-docs-for-afs
|
||||
- fetch-tox-output
|
||||
- role: fetch-sphinx-output
|
||||
sphinx_output_src: "src/{{ zuul.project.canonical_name }}/doc/build/html/"
|
||||
|
22
zuul.yaml
22
zuul.yaml
@ -237,6 +237,28 @@
|
||||
tox_envlist: venv
|
||||
tox_extra_args: -vv python setup.py build_sphinx
|
||||
|
||||
# NOTE(pabelanger): We have related untrusted job in openstack-zuul-jobs called
|
||||
# openstack-doc-build. We should discuss post PTG how to potentially deal with
|
||||
# duplication.
|
||||
- job:
|
||||
name: publish-openstack-python-docs-infra
|
||||
parent: publish-openstack-afs
|
||||
description: |
|
||||
Publish the results of the tox-docs job to /afs/.openstack.org/docs
|
||||
pre-run: playbooks/python-docs/pre
|
||||
run: playbooks/python-docs/run
|
||||
post-run: playbooks/python-docs/post
|
||||
required-projects:
|
||||
- name: openstack/requirements
|
||||
roles:
|
||||
- zuul: openstack-infra/zuul-jobs
|
||||
- zuul: openstack-infra/openstack-zuul-jobs
|
||||
vars:
|
||||
tox_environment:
|
||||
UPPER_CONSTRAINTS_FILE: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt"
|
||||
tox_envlist: venv
|
||||
tox_extra_args: -vv python setup.py build_sphinx
|
||||
|
||||
- job:
|
||||
name: publish-openstack-python-branch-tarball
|
||||
parent: publish-openstack-artifacts
|
||||
|
Loading…
Reference in New Issue
Block a user