diff options
author | Vincent Ambo <mail@tazj.in> | 2022-01-12T14·42+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-01-14T17·35+0000 |
commit | ee52fbc46c4812921c5e68c16be2542e36d45366 (patch) | |
tree | 9a762aa4ac5817094fa0de438f0eb3a7e86b0f74 /users/tvlbot.jpg | |
parent | 0d24efcdc9d00cf1e66e4308facfb94fbbf2dd3d (diff) |
feat(besadii): Skip builds of patchsets with no code changes r/3592
Currently Gerrit is configured to copy forward the scores of the 'Verified' label if the tree of the commit does not change (e.g. only author information or commit message is modified). Besadii still triggers builds for these patchsets though. With this change it will inspect the (previously ignored) "kind" of the patchset and skip patchsets with the same tree as their predecessor. See Gerrit docs for the semantics of "kind": https://gerrit-review.googlesource.com/Documentation/json.html#patchSet Note that an argument can be made that we should do the exact opposite - stop carrying over 'Verified' at all and always build all patchsets. I think this depends on whether we intend to use commit metadata in CI runs at all. Adding a few people to the review for opinions. Change-Id: I48a96a1ad1e07d92330d84e5cfdc820a39395297 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4867 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: asmundo <asmundo@gmail.com> Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/tvlbot.jpg')
0 files changed, 0 insertions, 0 deletions