Directory of scripts needed for troopering.

Mass cancelling builds and tasks

If you're cancelling builds because of a bad chromium/src revision, use the script. Example:

# Assuming that deadbeef is the git revision of the revert of 12345678, which
# landed and broke something.
./ deadbeef 12345678 | bb cancel -reason "CQ outage, see"

To cancel many builds at once use the following command:

# Cancel scheduled builds in bucket "bucket".
bb ls -id -status scheduled chromium/bucket | bb cancel -reason unnecessary

# Cancel started builds for CI builder "builder".
bb ls -id -status started chromium/ci/builder | bb cancel -reason "bad builds"