Commit Graph

8 Commits

Author SHA1 Message Date
Andreas Jaeger 7e04128a8b Capitalize task names
We capitalize the first word in task names in general - and when you
follow a log and suddenly see a single lower-case one flying along...

Fix those names that I could find and that are not variables etc.

Change-Id: I9ccde577413270d49fd790c41767b859366dc2f6
2020-05-16 17:46:17 +02:00
Clark Boylan b62efba8a4 Add option for object store friendly log paths
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
2019-09-04 09:52:38 -07:00
Jeremy Stanley b1eb21c446 Include project and branch in periodic job log URL
At least until we have a good dashboard to make periodic job logs
easier to find, include the project and branch names in the log path
so that they can be disambiguated from one another now that we're
sharing common job names across them.

Change-Id: Ifaca0dbcf39792094c23c3bd4ca1f3d207f80e26
2017-10-08 16:02:38 +00:00
Fabien Boucher f8d33e7c1a Set zuul_log_path for a periodic job
Change-Id: I3e30666d80929cf17dd818af7e97fba5dadf9993
2017-10-04 11:17:51 +02:00
Jeremy Stanley 92165cec41
Yet still more fix post log location
No, we *really* meant to use /AB/ABC..XYZ/ not /C...YZ/ABC..XYZ/.

Depends-On: I1c98508fe227f7f6aa1d0b2f7dcf270cecaa60d8
Change-Id: I3a6963c1a20793407b706d2decdace90521510d0
2017-09-30 10:05:48 -05:00
James E. Blair 288d708522 Fix post log location
We meant to use /AB/ABC..XYZ/  not /YZ/ABC..XYZ/.

Change-Id: Iaaf8a0af348fde0b80f377b41710e6da3a63ac2e
2017-09-28 15:49:18 -07:00
Clark Boylan 166236eab3 Actually set zuul_log_path
We renamed log_path to zuul_log_path everywhere but where we set the
fact. Make sure the fact setting uses the name we expect everywhere
else.

Change-Id: Ib4616ab4634ae7c5a5e93ea4e49bf218e125a9cb
2017-09-10 11:04:26 -07:00
Monty Taylor 00e673c36b
Rename log_path and generate-log-url
Make log_path zuul_log_path because log_path is rather generic.

Rename generate-log-url to set-zuul-log-path-fact to make it
clearer what it does.

Change-Id: I91ae1e396b3ef04939edebaeea8e5b16cc50315a
2017-09-09 16:49:51 -06:00