Automated way for removing build logs
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=16847)
</details>
<!--IssueSummary end-->
With every single push to GitLab it will trigger a build. Depending on the number of push activities we do generate logs. For users who have GitLab server in a VM infrastructure and need to take backup as VM snapshots this can became a huge problem. Below are some calculations that we have got in our 20 push activities on our server.
20 x 4MB of logs = 80 MB daily
80MB x 22 days = 1,760 MB monthly = 1,7 GB monthly
1,7 GB x 12 = 20,4 GB yearly
It would be nice if we could claim back the valuable storage weekly or monthly in some automated way that can be configured.
issue