Skip to content
Snippets Groups Projects
Commit c40ad78e authored by Jason Tevnan's avatar Jason Tevnan Committed by Marin Jankovski
Browse files

Pin version of gitlab for db and redis

parent ab9285a6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -19,6 +19,9 @@ See packages.gitlab.com/gitlab/gitlab-ce.
- `node['omnibus-gitlab']['package']['repo']` defaults to `gitlab/gitlab-ce`. Use `gitlab/gitlab-ee` for GitLab Enterprise Edition
- `node['omnibus-gitlab']['package']['name']` defaults to `gitlab-ce`. Use `gitlab-ee` for GitLab Enterprise Edition
 
- `node['omnibus-gitlab']['skip_auto_migrations']` defaults to `false`. This option will create a file (`/etc/gitlab/skip-auto-migrations`) which will tell the package not to run `gitlab-ctl reconfigure` as well as telling the chef recipe to skip the `gitlab-ctl reconfigure` step. This is useful when dealing with DB/Redis servers which should not be restarted automatically.
For more available attributes see `attributes/default.rb`.
 
### Examples
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@ maintainer_email 'marin@gitlab.com'
license 'All rights reserved'
description 'Installs/Configures GitLab using omnibus-gitlab'
long_description 'Installs/Configures GitLab using omnibus-gitlab'
version '0.3.17'
version '0.3.18'
issues_url 'https://gitlab.com/gitlab-org/cookbook-omnibus-gitlab/issues'
source_url 'https://gitlab.com/gitlab-org/cookbook-omnibus-gitlab/'
 
Loading
Loading
Loading
Loading
@@ -128,6 +128,7 @@ end
# Run gitlab-ctl reconfigure if /etc/gitlab/gitlab.rb changed
execute 'gitlab-ctl reconfigure' do
action :nothing
not_if { node['omnibus-gitlab']['skip_auto_migrations'] }
end
 
# Reload NGINX if the SSL certificate or key has changed
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment