Monty Taylor e1a793b8a1
Switch build-openstack-sphinx-docs to build-sphinx-docs
As per the recent PTI update, docs should be built without tox and
instead using direct sphinx-build commands. The general job
build-sphinx-docs does this, so use it. Keep the
build-openstack-sphinx-docs job because we need to set constraints
support.

This includes a hack to allow neutron and horizon plugin repos to work
properly with their tox_install.sh list of additional requirements.

Change-Id: Ib121961c5a953a434e7b333cd70f7838a2671f69
Depends-On: Ie65dcb42c48e6a962f6715f7483ef3758caf2965
2017-12-01 13:03:41 -06:00

28 lines
792 B
YAML

- name: Check for tox_install.sh
stat:
path: "{{ zuul_work_dir }}/tools/tox_install.sh"
get_checksum: false
get_mime: false
get_md5: false
register: tox_install
- name: Require Constraints File
when: tox_install.stat.exists and constraints_file is not defined
fail:
msg: tox_install.sh projects require a constraints file to be set
- name: Ensure log directory exists for backwards compat
when: tox_install.stat.exists
file:
path: '{{ zuul_work_virtualenv }}/log'
state: directory
- name: Install extra things needed by tox_install.sh
when: tox_install.stat.exists
shell:
executable: /bin/bash
cmd: |
source {{ zuul_work_virtualenv }}/bin/activate
tools/tox_install.sh {{ constraints_file }}
chdir: "{{ zuul_work_dir }}"