Change the tags query used for OCI to list tags to be shallow

This removes the join on Manifest which was (possibly) causing the prod issue. We also simplify the lookup for pre-OCI as well, a bit.
This commit is contained in:
Joseph Schorr 2019-03-08 14:07:30 -05:00
parent 530c0705e9
commit 0d6343871e
10 changed files with 118 additions and 58 deletions

View file

@ -8,7 +8,7 @@ from test.fixtures import *
def test_repository_manifest(client):
with client_with_identity('devtable', client) as cl:
repo_ref = registry_model.lookup_repository('devtable', 'simple')
tags = registry_model.list_repository_tags(repo_ref)
tags = registry_model.list_all_active_repository_tags(repo_ref)
for tag in tags:
manifest_digest = tag.manifest_digest
if manifest_digest is None: