From 0751b3d481e57bb9099f20bcd24a1f531023e203 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Mon, 19 Aug 2019 09:56:01 +1000 Subject: [PATCH] Convert nested bridge.o.o ARA report to static HTML With the switch to swift logging, we need to convert the nested ARA report to static HTML Change-Id: I9e177915099598d5d48a31c15bd6db49e4d1c7e8 --- playbooks/zuul/run-base-post.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/playbooks/zuul/run-base-post.yaml b/playbooks/zuul/run-base-post.yaml index ada0e85133..24f8b464df 100644 --- a/playbooks/zuul/run-base-post.yaml +++ b/playbooks/zuul/run-base-post.yaml @@ -60,8 +60,8 @@ recurse: yes become: yes - # Note called ansible.sqlite so the middleware on - # logs.o.o picks it up for display + # Note we convert to a HTML report with the ara-report role + # below - name: Collect testing ARA results synchronize: dest: "{{ log_dir }}/ara-report/ansible.sqlite" @@ -79,3 +79,13 @@ rsync_opts: - "--exclude=__pycache__" ignore_errors: true + +- hosts: localhost + tasks: + - name: Create bridge.o.o ARA report + include_role: + name: ara-report + vars: + ara_database_path: "{{ zuul.executor.log_root }}/bridge.openstack.org/ara-report/ansible.sqlite" + ara_report_path: "bridge.openstack.org/ara-report/" + ara_report_type: html