Merge "Allow predefined zuul_log_path during swift upload"
This commit is contained in:
commit
ba9f85bb40
|
@ -46,3 +46,8 @@ This uploads logs to an OpenStack Object Store (Swift) container.
|
|||
|
||||
If the container is created, should it be created with global read
|
||||
ACLs. If the container already exists, it will not be modified.
|
||||
|
||||
.. zuul:rolevar:: zuul_log_path
|
||||
:default: Generated by the role `set-zuul-log-path-fact`
|
||||
|
||||
Prepend this path to the object names when uploading.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
- name: Set zuul-log-path fact
|
||||
include_role:
|
||||
name: set-zuul-log-path-fact
|
||||
when: zuul_log_path is not defined
|
||||
|
||||
# Always upload (true), never upload (false) or only on failure ('failure')
|
||||
- when: zuul_site_upload_logs | default(true) | bool or
|
||||
|
|
Loading…
Reference in New Issue