From 2c8a3adfa9417c6cf67bca3f5286f0675493ad9d Mon Sep 17 00:00:00 2001 From: Denis Nikitin Date: Thu, 8 Aug 2019 16:56:20 -0700 Subject: cros_utils: Add R79-12384.0.0 image to blacklist R79-12384.0.0 image was made by mistake and way ahead of current master revision numbering. This makes the image always the latest one until R79 branch is released. The change blacklists "R79-12384.0.0" image when searching for the latest one in chromeos-image-archive. BUG=chromium:992242 TEST=not tested Change-Id: I45be6441f54d642dd2636b5231114e95faf491a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1745544 Reviewed-by: Manoj Gupta Tested-by: Caroline Tice Legacy-Commit-Queue: Commit Bot --- cros_utils/buildbot_utils.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cros_utils') diff --git a/cros_utils/buildbot_utils.py b/cros_utils/buildbot_utils.py index d1080e07..1101cbdf 100644 --- a/cros_utils/buildbot_utils.py +++ b/cros_utils/buildbot_utils.py @@ -250,5 +250,10 @@ def GetLatestImage(chromeos_root, path): candidates.sort(reverse=True) for c in candidates: build = '%s/R%d-%d.%d.%d' % (path, c[0], c[1], c[2], c[3]) + # Blacklist "R79-12384.0.0" image released by mistake. + # TODO(crbug.com/992242): Remove the filter by 2019-09-05. + if '.'.join(c) == '79.12384.0.0': + continue + if DoesImageExist(chromeos_root, build): return build -- cgit v1.2.3