550e5da4b4
We should make it easy for users to view console logs by default. Today, we compress and upload logs and by default apache / nginx will not properly display them as plain text. This commit changes the default to not compress, but allows more advanced users to enable this logic. As mostly likley it also means additional configuration for your web server. Change-Id: Ic446db4f85e2098db8fa4568f8c5140ba564e931 Signed-off-by: Paul Belanger <pabelanger@redhat.com> |
||
---|---|---|
.. | ||
tasks | ||
vars | ||
README.rst |
Upload logs to a static webserver
This uploads logs to a static server using SSH. The server must have
been previously added to the inventory; this can be done with the
:zuuladd-fileserver
role; see that role's documentation for a description of the site_logs
secret in this example post-run playbook:
- hosts: localhost
roles:
- role: add-fileserver
fileserver: "{{ site_logs }}"
- hosts: "{{ site_logs.fqdn }}"
gather_facts: False
roles:
- role: upload-logs
zuul_log_url: "http://logs.example.org"
Role Variables
Base URL where logs are to be found.