ci: Add azp cache for missing precheck jobs#17155
Conversation
lizan
left a comment
There was a problem hiding this comment.
Wait, docs and format need cache because they build and run protobuf compilers?
|
im not sure if i understand what is going on with the cache - afaict it caches the maybe i misunderstand i would probably remove it elsewhere also if that is the case, but here it just seems to slow down ci |
|
@phlax Its cache key is |
|
@lizan ill investigate this further - afaict it just slows these jobs down - also format_pre builds protos and doesnt have this set atm |
4dc8812 to
1cabe76
Compare
on further investigation, i understand now that its caching the bazel i think, on balance, it probably speeds up these jobs not sure why, whether its contention or just service variability, but sometimes the azp cache can go very slow, but for the most part its quick
im going to try doing the opposite - adding the cache into the other jobs as they use bazel and, i think, download stuff as part of their builds |
d41ab79 to
e38c607
Compare
Signed-off-by: Ryan Northey <ryan@synca.io>
1e9ccb8 to
955f969
Compare
|
one thing that occurred to me @lizan is that we dont want these cache jobs to run on postsubmit, i think - as they are only run once |
|
@lizan any chance of landing this ? afaict any argument for keeping the cache on the other precheck jobs holds the same for the ones that do not currently have cache set up - they cache the same data |
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey ryan@synca.io
Commit Message: ci: Remove azp cache for precheck jobs
Additional Description:
most of the precheck jobs dont use the cache, and im not sure what purpose it serves here
for the most part its quick, if unnecessary, but sometimes there can be contention on the cache and it can take a long time
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]