git-cl: add --preserve-tryjobs option for upload command.
CQ will soon start canceling tryjobs it triggered on no-longer-latest patchsets if these tryjobs won't be re-used. New option can be used by developers who upload new patchsets but actually care for prior CQ-triggered tryjobs to complete. This footer is effectively sticky, unless someone removes it by hand later. We need to have the footer one way or another to tell the CQ what to do (and provide a visible audit trail). We may revisit the stickiness later based on accumulated usage data s.t. the following uploads remove the footer unless the flag is passed. Bug: 909895 Test: git cl upload --preserve-tryjobs Change-Id: Ibbc6e917504c31eab8ab85296b3ecafd3add46df Cq-Do-Not-Cancel-Tryjobs: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1701506Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
Showing
Please
register
or
sign in
to comment