Pull goaccess report into zuul logs

This will be our first step at publishing these publicly.

Change-Id: I7a2eb4ace5f76b8853867e1b4a767e5f3830ce96
This commit is contained in:
Clark Boylan 2020-03-10 15:50:45 -07:00
parent 2792fa5b76
commit 24ed36fa34

View File

@ -58,3 +58,12 @@
( cat ${SOURCE_FILE}{,.1} ; zcat ${SOURCE_FILE}.*.gz ) | goaccess -o $OUT_FILE -p /home/zuul/goaccess.conf -
args:
executable: /bin/bash
# Not using normal zuul job roles as static.opendev.org is not a
# test node with all the normal bits in place.
# TODO: should this be an artifact instead?
- name: Collect log output
synchronize:
dest: "{{ zuul.executor.log_root }}/{{ goaccess_site }}_goaccess_report.html"
mode: pull
src: "/home/zuul/{{ goaccess_site }}_goaccess_report.html"
verify_host: true