Create zuul_executor_dest variable for fetch-sphinx-output

It is possible we want to upload this data into a different directory
on the executor; expose that.

Change-Id: I377f80fb245beb5165a24205ed1bb954d4f8af42
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-08-28 19:43:38 -04:00
parent 838ecb143f
commit daebc230c6
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
---
zuul_executor_dest: "{{ zuul.executor.log_root }}"
zuul_work_dir: "src/{{ zuul.project.canonical_name }}"

View File

@ -1,6 +1,6 @@
- name: Collect sphinx build html
synchronize:
dest: "{{ zuul.executor.log_root }}"
dest: "{{ zuul_executor_dest }}"
mode: pull
src: "{{ zuul_work_dir }}/doc/build/html"
verify_host: true