Commit graph

5 commits

Author SHA1 Message Date
Clement Verna
34421de5f0 delete_old_oci_images: manage repositories that don't have tags
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-06-04 12:58:48 +02:00
Clement Verna
9bda00c548 delete_old_oci_images: make sure we do not log the password
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-06-04 12:43:53 +02:00
Clement Verna
986d7fb885 delete_old_oci_images: Use format string instead of f-strings
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-06-04 11:44:22 +02:00
Clement Verna
e4d8cb4e79 delete_old_oci_images: use Python 3 interpreter
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-06-04 09:46:19 +02:00
Clement Verna
6318c8178e oci-registry-prune: New playbook to prune old OCI images from the candidate registry.
This commit adds a new module and a new playbook used to delete images
from the candidate-registry that are older than 30 days.
The module looks for images tags that are older than 30 days and delete the
tags.
The playbook run the module and the registry garbage collection to reclaim
the disk space.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-06-04 09:18:37 +02:00