Skip to content
Snippets Groups Projects
Commit 707f0c85 authored by Radosław Piliszek's avatar Radosław Piliszek
Browse files

CI: Generate ARA HTML

Since move to Swift ARA database does not render server-side,
let's make it render HTML locally as suggested.

Change-Id: I1190526c02d1f312d5284544d6e5be433dd839fa
parent 06eabcb9
No related branches found
No related tags found
No related merge requests found
......@@ -67,4 +67,15 @@
src: "{{ ansible_env.HOME }}/.ara/ansible.sqlite"
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}/ara-report/"
mode: pull
- name: Generate HTML from ARA database
command: "ara generate html {{ ansible_env.HOME }}/ara-html"
environment:
ARA_DATABASE: "sqlite:///{{ ansible_env.HOME }}/.ara/ansible.sqlite"
- name: Download ARA HTML
synchronize:
src: "{{ ansible_env.HOME }}/ara-html"
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}/ara-report/"
mode: pull
when: ara_stat_result.stat.exists
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment