Skip to content

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.

Checklist

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 targeting master branch
  • MR has a green pipeline on GitLab.com

Reviewer Checklist

In addition to above, reviewer must:

  • Pipeline is green on dev.gitlab.org if the change is not touching documentation or internal cookbooks

References

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62759

Edited by GitLab Release Tools Bot

Merge request reports