aboutsummaryrefslogtreecommitdiff
path: root/infra/bisector.py
diff options
context:
space:
mode:
authorOliver Chang <oliverchang@users.noreply.github.com>2020-04-30 15:50:33 +1000
committerGitHub <noreply@github.com>2020-04-30 15:50:33 +1000
commit3a23496fcd1863acd5eb8f9e7e33e880869c93ea (patch)
tree03af47015a137c5e31fd2b8e34c311cc5dca04d3 /infra/bisector.py
parent6b79797ed31e40c490f7c2ff92f110e84636178a (diff)
downloadoss-fuzz-3a23496fcd1863acd5eb8f9e7e33e880869c93ea.tar.gz
bisector: Sort by timestamp order when getting base-builder tags. (#3740)
Diffstat (limited to 'infra/bisector.py')
-rw-r--r--infra/bisector.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/infra/bisector.py b/infra/bisector.py
index 1e762fa06..f2d2d0810 100644
--- a/infra/bisector.py
+++ b/infra/bisector.py
@@ -105,8 +105,13 @@ def _load_base_builder_repo():
return None
result, _, _ = utils.execute([
- gcloud_path, 'container', 'images', 'list-tags',
- 'gcr.io/oss-fuzz-base/base-builder', '--format=json'
+ gcloud_path,
+ 'container',
+ 'images',
+ 'list-tags',
+ 'gcr.io/oss-fuzz-base/base-builder',
+ '--format=json',
+ '--sort-by=timestamp',
],
check_result=True)
result = json.loads(result)