[go: nahoru, domu]

tree: 85385058eb996aff0b3c2fbfd8dc844f0088e47b [path history] [tgz]
  1. .style.yapf
  2. builder-cache-clobber.py
  3. clobber_cache_utils.py
  4. DIR_METADATA
  5. find_bad_builds.py
  6. find_bad_builds_unittest.py
  7. git_utils.py
  8. named-cache-clobber.py
  9. OWNERS
  10. PRESUBMIT.py
  11. README.md
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"