This change simplifies the path creation logic to avoid processing user defined variables such as job name and pipeline name, which might cause the log url to exceed the database storage presently fixed at 255 char. Add warning in the job's header when the url is over 255 characters, explaining that Zuul won't report the job properly in its database; but the job can still run. Change-Id: I34fb5662a2f958c55f60458ce107bad2a73b9c96
9 lines
469 B
ReStructuredText
9 lines
469 B
ReStructuredText
Sets a fact named ``zuul_log_path`` from zuul variables
|
|
|
|
The resulting log path will be based on the zuul tenant name and build
|
|
uuid. The url will then be prefixed by a portion of the build uuid.
|
|
This prefix allows for partitioning in object storage systems.
|
|
Constructing the url in this way isn't very human readable but produces
|
|
consistent url lengths which is important for database record keeping
|
|
and avoiding unexpected problems with url lengths exceeding limits.
|