Automatically change ownership of registry directory after restore
What does this MR do?
This MR adds a hook to
gitlab-rake gitlab:backup:restore task. It changes ownership of
registry directory before and after restore. This is a workaround for the problem with file permissions of registry directory after restore.
See Definition of done.
- Changelog entry created. Not applicable for Documentation changes and minor changes.
- Documentation created/updated (needs to be addressed in a separate MR for https://gitlab.com/gitlab-org/gitlab-ce)
- MR has a green pipeline on GitLab.com
In addition to above, reviewer must:
- Pipeline is green on dev.gitlab.org if the change is not touching documentation or internal cookbooks