zuul-jobs/roles/upload-logs
Ian Wienand af3f79121a
linter: Use capitals for names
This is pretty trivial, but consistency is probably better in this
regard and it does guide you to writing a sentence that is human
parsable, which is the point of it.

Change-Id: Iaab9bb6aec0ad0f1d3cae10364c1f1b37d02801e
2022-11-07 10:37:53 +11:00
..
tasks linter: Use capitals for names 2022-11-07 10:37:53 +11: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

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.