Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2016-06-24 22:06:46 +0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2016-06-30 05:30:33 +0300
commit20b9bb2029972c5f5334d6d684e0d60edb034c5f (patch)
treea6a9cbc01ec7d9f68cb639aeb80e26d8b6cd865a /lib/tasks
parent86359ec854314574dccea75247f45590262b05c0 (diff)
Create (if necessary) and link the gitlab-shell secret file on the rake install task
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/shell.rake2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/shell.rake b/lib/tasks/gitlab/shell.rake
index 263798e9c22..c85ebdf8619 100644
--- a/lib/tasks/gitlab/shell.rake
+++ b/lib/tasks/gitlab/shell.rake
@@ -71,6 +71,8 @@ namespace :gitlab do
File.open(File.join(home_dir, ".ssh", "environment"), "w+") do |f|
f.puts "PATH=#{ENV['PATH']}"
end
+
+ Gitlab::Shell.new.generate_and_link_secret_token
end
desc "GitLab | Setup gitlab-shell"