tree: 4ffcfc6a0509c3c355336dba58ba71859c194ad7 [path history] [tgz]
  1. .style.yapf
  2. DIR_METADATA
  3. OWNERS
  4. PRESUBMIT.py
  5. README.md
  6. builder-cache-clobber.py
  7. clobber_cache_utils.py
  8. find_bad_builds.py
  9. git_utils.py
  10. named-cache-clobber.py
  11. reproduce.py
  12. reproduce_unittest.py
tools/infra/README.md

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 find_bad_builds.py script. Example:

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

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"