diff options
author | Ricketts, M (Mike) <rickettm@uk.ibm.com> | 2017-12-22 16:39:06 +0300 |
---|---|---|
committer | Ricketts, M (Mike) <rickettm@uk.ibm.com> | 2017-12-22 16:52:09 +0300 |
commit | 87a36a74ff0e011a69d49f4b2411cae17f975ca9 (patch) | |
tree | 81cc506f979175a0cd2a1fd7fb65ebb85b69e5cd /lib/tasks/gitlab/shell.rake | |
parent | 299e04e318728d4ee5857379f8fb350c944a0b4e (diff) |
Remove .ssh/environment file that now breaks the gitlab:check rake task
Diffstat (limited to 'lib/tasks/gitlab/shell.rake')
-rw-r--r-- | lib/tasks/gitlab/shell.rake | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/tasks/gitlab/shell.rake b/lib/tasks/gitlab/shell.rake index 0e6aed32c52..12ae4199b69 100644 --- a/lib/tasks/gitlab/shell.rake +++ b/lib/tasks/gitlab/shell.rake @@ -54,16 +54,6 @@ namespace :gitlab do # (Re)create hooks Rake::Task['gitlab:shell:create_hooks'].invoke - # Required for debian packaging with PKGR: Setup .ssh/environment with - # the current PATH, so that the correct ruby version gets loaded - # Requires to set "PermitUserEnvironment yes" in sshd config (should not - # be an issue since it is more than likely that there are no "normal" - # user accounts on a gitlab server). The alternative is for the admin to - # install a ruby (1.9.3+) in the global path. - File.open(File.join(user_home, ".ssh", "environment"), "w+") do |f| - f.puts "PATH=#{ENV['PATH']}" - end - Gitlab::Shell.ensure_secret_token! end |