zuul-jobs/roles/upload-logs
Albin Vass 965c602af3 upload-logs: do not synchronize owner
Change-Id: I46228648363af065a2d4b5d1a6fe44c625420824
2020-05-18 17:05:32 +02:00
..
tasks upload-logs: do not synchronize owner 2020-05-18 17:05:32 +02:00
vars Allow upload-logs to toggle compression of console logs 2019-09-20 17:03:58 +00:00
README.rst Allow upload-logs to toggle compression of console logs 2019-09-20 17:03:58 +00:00

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.