From daebc230c6c188bb33c769afe97e44f72e81b11d Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 28 Aug 2017 19:43:38 -0400 Subject: [PATCH] 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 --- roles/fetch-sphinx-output/defaults/main.yaml | 1 + roles/fetch-sphinx-output/tasks/main.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/fetch-sphinx-output/defaults/main.yaml b/roles/fetch-sphinx-output/defaults/main.yaml index a0afa22c5..d9af43f1e 100644 --- a/roles/fetch-sphinx-output/defaults/main.yaml +++ b/roles/fetch-sphinx-output/defaults/main.yaml @@ -1,2 +1,3 @@ --- +zuul_executor_dest: "{{ zuul.executor.log_root }}" zuul_work_dir: "src/{{ zuul.project.canonical_name }}" diff --git a/roles/fetch-sphinx-output/tasks/main.yaml b/roles/fetch-sphinx-output/tasks/main.yaml index 7a250547f..4d58f3ca2 100644 --- a/roles/fetch-sphinx-output/tasks/main.yaml +++ b/roles/fetch-sphinx-output/tasks/main.yaml @@ -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