Make api jobs post playbooks honor zuul_work_dir

We tried to add os-api-ref-nova-src to run api-ref build on nova content
on changes to api-ref, but this hardcodes project. Make it honor
zuul_work_dir. Also do api-guide while we're here, since it's the same
pattern.

Change-Id: I97448d681e3e48753496818fa248ee96dd36d65b
This commit is contained in:
Monty Taylor 2017-11-30 15:42:25 -06:00
parent 8c5eef0651
commit 3af7c16417
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,4 @@
roles:
- role: fetch-tox-output
- role: fetch-sphinx-output
sphinx_output_src: "{{ zuul.project.src_dir }}/api-guide/build/html"
sphinx_output_src: "{{ zuul_work_dir|default(zuul.project.src_dir) }}/api-guide/build/html"

View File

@ -2,4 +2,4 @@
roles:
- role: fetch-tox-output
- role: fetch-sphinx-output
sphinx_output_src: "{{ zuul.project.src_dir }}/api-ref/build/html"
sphinx_output_src: "{{ zuul_work_dir|default(zuul.project.src_dir) }}/api-ref/build/html"