bisector: Sort by timestamp order when getting base-builder tags. (#3740)

This commit is contained in:
Oliver Chang 2020-04-30 15:50:33 +10:00 committed by GitHub
parent 6b79797ed3
commit 3a23496fcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -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)