Merge "Pull goaccess report into zuul logs"

This commit is contained in:
Zuul 2020-03-11 00:10:08 +00:00 committed by Gerrit Code Review
commit c0b59083df

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