Skip to content

Include Design repositories in GitLab backup

Luke Duncalfe requested to merge 233430-design-repo-in-backup into master

What does this MR do?

This MR includes Design Management design repositories in the GitLab repository backup.

QA Steps

To run the repository backup rake task:

bundle exec rake gitlab:backup:repo:create

You should see [SKIPPED] next to design repositories (suffix: .design) that are empty.

For any project that has had a design uploaded to Design Management, and therefore has a design repository that is not empty, you should see [DONE].

And to restore:

bundle exec rake gitlab:backup:repo:restore

Documentation?

I think it's best not to specifically mention in our backup restore docs that design repositories are included because it's likely to be confusing. Design files are actually backed up as LfsObjects already, but Design Management just needs the LFS Pointer files in the repository to restore fully. It's probably a level of technical information that doesn't need to be in the backup restore docs, and instead, the existing documentation about "repositories" can apply for designs too.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Luke Duncalfe

Merge request reports