b62efba8a4
For logs stored in object storage services we want to be able to shard into different containers. This improves scalability of the object stores. To do this consistently we prefix all log paths with the first 3 characters of the build uuid. This way we get container names like log_123, log_abc, and so on for a total of 4096 containers. This behavior is off by default because users of filesystems stores without a zuul dashboard may still want periodic/ to be filed into a top level dir for browseability. Change-Id: I8e72a6e587edcbdf89b793cad2d7c96c535601e7
18 lines
516 B
ReStructuredText
18 lines
516 B
ReStructuredText
Log a few lines about the job.
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: zuul_log_url
|
|
|
|
Base URL where logs are to be found.
|
|
|
|
.. zuul:rolevar:: zuul_log_path_shard_build
|
|
:default: False
|
|
|
|
This var is consumed by set-zuul-log-path-fact which emit-job-header
|
|
calls into. If you set this you will get log paths prefixed with the
|
|
first three characters of the build uuid. This will improve log file
|
|
sharding.
|
|
|
|
More details can be found at :zuul:rolevar:`set-zuul-log-path-fact.zuul_log_path_shard_build`
|