summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2019-01-05 14:57:06 +0000
committerMonty Taylor <mordred@inaugust.com>2019-01-05 14:57:06 +0000
commit3cc88dfb55d67f4d29dd5204b590f8ec490e0b6a (patch)
treeb443c9f84e6602e3742134af1e6673b523c4c208
parent8e46e87cbe99d2190f9132df29988e9f54c82582 (diff)
Update fetch-output to use work_root
The executor variable is work_root, not work_dir. Change-Id: Ie09989cccb2574d5d474118a8f534f66fc47b4a6
Notes
Notes (review): Code-Review+2: Andreas Jaeger <jaegerandi@gmail.com> Workflow+1: Monty Taylor <mordred@inaugust.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sat, 05 Jan 2019 15:37:04 +0000 Reviewed-on: https://review.openstack.org/628734 Project: openstack-infra/zuul-jobs Branch: refs/heads/master
-rw-r--r--roles/fetch-output/tasks/main.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/fetch-output/tasks/main.yaml b/roles/fetch-output/tasks/main.yaml
index 254cccd..37ba8f8 100644
--- a/roles/fetch-output/tasks/main.yaml
+++ b/roles/fetch-output/tasks/main.yaml
@@ -14,8 +14,8 @@
14 state: directory 14 state: directory
15 with_items: 15 with_items:
16 - "{{ log_path }}" 16 - "{{ log_path }}"
17 - "{{ zuul.executor.work_dir }}/artifacts" 17 - "{{ zuul.executor.work_root }}/artifacts"
18 - "{{ zuul.executor.work_dir }}/docs" 18 - "{{ zuul.executor.work_root }}/docs"
19 19
20- name: Collect log output 20- name: Collect log output
21 synchronize: 21 synchronize:
@@ -26,14 +26,14 @@
26 26
27- name: Collect artifacts 27- name: Collect artifacts
28 synchronize: 28 synchronize:
29 dest: "{{ zuul.executor.work_dir }}/artifacts/" 29 dest: "{{ zuul.executor.work_root }}/artifacts/"
30 mode: pull 30 mode: pull
31 src: "{{ zuul_output_dir }}/artifacts/" 31 src: "{{ zuul_output_dir }}/artifacts/"
32 verify_host: true 32 verify_host: true
33 33
34- name: Collect docs 34- name: Collect docs
35 synchronize: 35 synchronize:
36 dest: "{{ zuul.executor.work_dir }}/docs/" 36 dest: "{{ zuul.executor.work_root }}/docs/"
37 mode: pull 37 mode: pull
38 src: "{{ zuul_output_dir }}/docs/" 38 src: "{{ zuul_output_dir }}/docs/"
39 verify_host: true 39 verify_host: true