It would be nice to have a feature to remove build log from the CI: this is useful in situation where by mistake some sensitive information was printed during build.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
want to add: remove not only build logs but build it self. now you can "retry" build from the build page even if you rebased/deleted branch with commit with sensetive information.
Gitlab allows deletion of build artifacts, but not the pipelines themselves. The build logs alone can take up many Gb of space. It it reasonable to delete these after a certain period? Ideally we'd like to only keep historic builds if they have a tag associated with them.
@grzesiek The artifacts can already be configured to expire (or manually deleted). It's the pipelines and the logs associated with them that live forever. Any plans to fix this?
@gaff Currently it is only possible to erase build log + artifacts. It is not possible to remove builds or pipelines. I don't think we have an immediate plan to change that.
@grzesiek - Just to put it in perspective our artefacts are a constant 4Gb (thanks to the expiry feature), but our build logs are 20Gb and growing!!
Any chance we could at least raise a feature request / keep this issue open to track it. Maybe other users have the same problem?
The 'data/gitlab-ci/builds' directory is at least sorted by date. Any harm in just zapping old stuff? Still I'd rather keep build logs for tagged builds if possible
@gaff I think it makes sense to have expiration setting for build logs, but this issue was used to track having a button to remove the log. Could you please create a new issue describing your need there? Thanks!