Richard W.M. Jones
2022-Aug-08 20:51 UTC
[Libguestfs] [PATCH nbdkit] ci: Expire artifacts after 1 week
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? Rich.
Richard W.M. Jones
2022-Aug-08 20:51 UTC
[Libguestfs] [PATCH nbdkit] ci: Expire artifacts after 1 week
--- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 122bc0860..6e3cda33a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,6 +31,7 @@ include: '/ci/gitlab.yml' - "**/test-suite.log" public: true when: always + expire_in: 1 week .native_build_job: extends: -- 2.37.0.rc2
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>