Merge "upload-logs-swift: option for disabling the indexer"
This commit is contained in:
commit
e9ee6799bd
@ -53,3 +53,10 @@ This uploads logs to an OpenStack Object Store (Swift) container.
|
|||||||
:default: Generated by the role `set-zuul-log-path-fact`
|
:default: Generated by the role `set-zuul-log-path-fact`
|
||||||
|
|
||||||
Prepend this path to the object names when uploading.
|
Prepend this path to the object names when uploading.
|
||||||
|
|
||||||
|
.. zuul:rolevar:: zuul_log_create_indexes
|
||||||
|
:default: true
|
||||||
|
|
||||||
|
Whether to create `index.html` files with directory indexes. If set
|
||||||
|
to false, Swift containers can be marked with a `Web-Listings=true`
|
||||||
|
property to activate Swift's own directory indexing.
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
zuul_log_partition: false
|
zuul_log_partition: false
|
||||||
zuul_log_container: logs
|
zuul_log_container: logs
|
||||||
zuul_log_container_public: true
|
zuul_log_container_public: true
|
||||||
|
zuul_log_create_indexes: true
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
container: "{{ zuul_log_container }}"
|
container: "{{ zuul_log_container }}"
|
||||||
public: "{{ zuul_log_container_public }}"
|
public: "{{ zuul_log_container_public }}"
|
||||||
prefix: "{{ zuul_log_path }}"
|
prefix: "{{ zuul_log_path }}"
|
||||||
|
indexes: "{{ zuul_log_create_indexes }}"
|
||||||
files:
|
files:
|
||||||
- "{{ zuul.executor.log_root }}/"
|
- "{{ zuul.executor.log_root }}/"
|
||||||
delete_after: "{{zuul_log_delete_after | default(omit) }}"
|
delete_after: "{{zuul_log_delete_after | default(omit) }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user