Skip to content

Ensure temp export data is removed if Group/Project export failed

George Koltsov requested to merge georgekoltsov/196188-cleanup-temp-exports into master

What does this MR do?

This MR adds temp data removal from shared/tmp/gitlab_exports folder when Group/Project export fails. Currently if something goes wrong temp data is not being cleaned up, and starts to pile up over time. This MR changes that to ensure it's always removed at the end of Export Service execution.

Original issue: #196188 (closed)

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading