Martin Kletzander
2022-Aug-09 07:23 UTC
[Libguestfs] [PATCH nbdkit] ci: Expire artifacts after 1 week
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>
Richard W.M. Jones
2022-Aug-09 09:07 UTC
[Libguestfs] [PATCH nbdkit] ci: Expire artifacts after 1 week
On Tue, Aug 09, 2022 at 09:23:57AM +0200, Martin Kletzander wrote:> 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.Thanks Martin, pushed for nbdkit here: https://gitlab.com/nbdkit/nbdkit/-/commit/4d795c422baffed72e862f6eba24d9fec700f49d I want to check the nbdkit pipeline still works before I make changes in the other projects. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html