[Libguestfs] [PATCH nbdkit] ci: Expire artifacts after 1 week

Martin Kletzander mkletzan at redhat.com
Tue Aug 9 07:23:57 UTC 2022


On Mon, Aug 08, 2022 at 09:51:32PM +0100, Richard W.M. Jones wrote:
>nbdkit uses about 1.1G of storage for artifacts.  I have personally
>never looked at anything other than the artifacts of the latest failed
>job, so I don't believe we need to keep these around for long.  This
>commit proposes expiring (and thus deleting) artifacts after 1 week.
>
>https://gitlab.com/nbdkit/nbdkit/-/usage_quotas
>
>If accepted I will make a similar change for libnbd.
>
>Martin, Dan - I don't know a lot about this and I know you've looked
>into this area a lot more.  What do you think of this change?
>

It definitely makes sense, similar setting is in libvirt repos, the artifacts
expire after 1 day.  Long time ago I was under the impression that the default
is not to keep them around (bearing in mind that the latest artifact is always
kept until a new pipeline runs).  Now I know this applies only for successful
jobs and can be turned off in settings.  I think you can safely set that to any
low value and all should be fine.

>Rich.
>
>
>_______________________________________________
>Libguestfs mailing list
>Libguestfs at redhat.com
>https://listman.redhat.com/mailman/listinfo/libguestfs
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20220809/d0c8076a/attachment.sig>


More information about the Libguestfs mailing list