From 3af7c164178b1c9335b0e1fc57f66dda7c8b93c2 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 30 Nov 2017 15:42:25 -0600 Subject: [PATCH] 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 --- playbooks/build-api-guide/post.yaml | 2 +- playbooks/build-api-ref/post.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/build-api-guide/post.yaml b/playbooks/build-api-guide/post.yaml index 06d15064..927a2610 100644 --- a/playbooks/build-api-guide/post.yaml +++ b/playbooks/build-api-guide/post.yaml @@ -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" diff --git a/playbooks/build-api-ref/post.yaml b/playbooks/build-api-ref/post.yaml index 4469a16f..045d57c5 100644 --- a/playbooks/build-api-ref/post.yaml +++ b/playbooks/build-api-ref/post.yaml @@ -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"