diff options
author | Oliver Chang <oliverchang@users.noreply.github.com> | 2020-04-30 15:50:33 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 15:50:33 +1000 |
commit | 3a23496fcd1863acd5eb8f9e7e33e880869c93ea (patch) | |
tree | 03af47015a137c5e31fd2b8e34c311cc5dca04d3 /infra/bisector.py | |
parent | 6b79797ed31e40c490f7c2ff92f110e84636178a (diff) | |
download | oss-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.py | 9 |
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) |