From: Dan Mick Date: Sun, 30 Jun 2024 22:22:21 +0000 (-0700) Subject: prune-quay.py: onlyActiveTags seems to work better now, use it X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b52c046e50e85084c0d9e4900a0784a47bc80a9b;p=ceph-build.git prune-quay.py: onlyActiveTags seems to work better now, use it this avoids fetching and throwing away deleted tags Signed-off-by: Dan Mick --- diff --git a/quay-pruner/build/prune-quay.py b/quay-pruner/build/prune-quay.py index ed6e7627..77975add 100755 --- a/quay-pruner/build/prune-quay.py +++ b/quay-pruner/build/prune-quay.py @@ -32,7 +32,7 @@ def get_all_quay_tags(quaytoken): try: response = requests.get( '/'.join((QUAYBASE, 'repository', REPO, 'tag')), - params={'page': page, 'limit': 100, 'onlyActiveTags': 'false'}, + params={'page': page, 'limit': 100, 'onlyActiveTags': 'true'}, headers={'Authorization': 'Bearer %s' % quaytoken}, timeout=30, )