]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
quay-pruner/build/prune-quay.py: handle new "short tags" 1437/head
authorDan Mick <dan.mick@redhat.com>
Thu, 14 Nov 2019 01:03:16 +0000 (17:03 -0800)
committerDan Mick <dan.mick@redhat.com>
Thu, 14 Nov 2019 01:07:34 +0000 (17:07 -0800)
commitf9258867b7174c68bde408d5bc1e6997070c17f7
treeba58125e854abf5c6aedf7a63595ef7e32e70aef
parentc2f2957d14672c408ac1ba5c5b0437060aa329a1
quay-pruner/build/prune-quay.py: handle new "short tags"

There are two new tags proposed for each image: "branchname" and "full
sha1".  Branchname is currently being created.  When pruning image tags,
we need to prune the associated short tags as well.

This also fixes a current bug where, because branchname tags are being
created, the current unaware prune script deletes them because it
treats "can't parse tagname" as equivalent to "can't find in shaman".

Signed-off-by: Dan Mick <dan.mick@redhat.com>
quay-pruner/build/prune-quay.py