aboutsummaryrefslogtreecommitdiff
path: root/cros_utils
diff options
context:
space:
mode:
authorDenis Nikitin <denik@google.com>2019-08-08 16:56:20 -0700
committerDenis Nikitin <denik@chromium.org>2019-08-11 22:26:49 +0000
commit2c8a3adfa9417c6cf67bca3f5286f0675493ad9d (patch)
treec43100f27a4ea39735384872409b594a1507e73e /cros_utils
parent3fa4d0200ec7c5eed35c883ac5999f5d22d74d90 (diff)
downloadtoolchain-utils-2c8a3adfa9417c6cf67bca3f5286f0675493ad9d.tar.gz
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 <manojgupta@chromium.org> Tested-by: Caroline Tice <cmtice@chromium.org> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Diffstat (limited to 'cros_utils')
-rw-r--r--cros_utils/buildbot_utils.py5
1 files changed, 5 insertions, 0 deletions
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