zuul-jobs/roles/upload-logs
Clark Boylan fd2b753088 Add build shard log path docs to upload-logs(-swift)
The upload logs roles can make use of the build logs sharding via their
calls into set-zuul-log-path-fact. Document this.

Change-Id: Ia57fc6a47227657f9fac70074e453cf8d4c16c26
2019-09-05 15:27:18 +00:00
..
tasks Be consistent about spaces before and after vars 2019-08-07 20:17:41 +01:00
vars Add a flag to disable no_log on upload-logs 2018-03-27 09:17:18 -07:00
README.rst Add build shard log path docs to upload-logs(-swift) 2019-09-05 15:27:18 +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.