Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parameter to allow to skip auto migrations #132

Closed
slinger987 opened this issue Apr 27, 2017 · 2 comments
Closed

Add parameter to allow to skip auto migrations #132

slinger987 opened this issue Apr 27, 2017 · 2 comments
Labels
needs-help Extra attention is needed

Comments

@slinger987
Copy link

In the case of an HA setup, there is no need to run the auto migrations on all servers and the documentation specifies that the /etc/gitlab/skip-auto-migrations file sshould be created to prevent database backups on an RPM upgrade. There is an option to prevent the rails to perform the migrations with 'gitlab_rails['auto_migrate'] = false' in gitlab.rb, but this doesn't help during the package upgrade. More information on the HA setup documenation:

https://docs.gitlab.com/ce/administration/high_availability/gitlab.html

@tobru
Copy link
Contributor

tobru commented May 2, 2017

Would you mind to create a PR?

@tobru tobru added the needs-help Extra attention is needed label May 2, 2017
@davidgubler
Copy link
Contributor

49f900b adds this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-help Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants