Unverified Commit 87c397f5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

More fixes to gitlab:shell:install


Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 5531591af71a
...@@ -4,7 +4,7 @@ namespace :gitlab do ...@@ -4,7 +4,7 @@ namespace :gitlab do
task :install, [:tag, :repo] => :environment do |t, args| task :install, [:tag, :repo] => :environment do |t, args|
warn_user_is_not_gitlab warn_user_is_not_gitlab
args.with_defaults(tag: "v1.9.1", repo: "https://gitlab.com/gitlab-org/gitlab-shell.git") args.with_defaults(tag: "v1.9.3", repo: "https://gitlab.com/gitlab-org/gitlab-shell.git")
user = Settings.gitlab.user user = Settings.gitlab.user
home_dir = Settings.gitlab.user_home home_dir = Settings.gitlab.user_home
...@@ -28,7 +28,7 @@ namespace :gitlab do ...@@ -28,7 +28,7 @@ namespace :gitlab do
config = { config = {
user: user, user: user,
gitlab_url: gitlab_url, gitlab_url: gitlab_url,
http_settings: {self_signed_cert: false}, http_settings: {self_signed_cert: false}.stringify_keys,
repos_path: repos_path, repos_path: repos_path,
auth_file: File.join(home_dir, ".ssh", "authorized_keys"), auth_file: File.join(home_dir, ".ssh", "authorized_keys"),
redis: { redis: {
...@@ -36,7 +36,7 @@ namespace :gitlab do ...@@ -36,7 +36,7 @@ namespace :gitlab do
host: redis_url.host, host: redis_url.host,
port: redis_url.port, port: redis_url.port,
namespace: "resque:gitlab" namespace: "resque:gitlab"
}, }.stringify_keys,
log_level: "INFO", log_level: "INFO",
audit_usernames: false audit_usernames: false
}.stringify_keys }.stringify_keys
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment