Commit 217fb684 authored by Nick Thomas's avatar Nick Thomas

Fix conflicts in lib/tasks/gitlab/check.rake

parent 57262a1c
...@@ -33,14 +33,12 @@ namespace :gitlab do ...@@ -33,14 +33,12 @@ namespace :gitlab do
SystemCheck::App::RedisVersionCheck, SystemCheck::App::RedisVersionCheck,
SystemCheck::App::RubyVersionCheck, SystemCheck::App::RubyVersionCheck,
SystemCheck::App::GitVersionCheck, SystemCheck::App::GitVersionCheck,
<<<<<<< HEAD
SystemCheck::App::ActiveUsersCheck,
SystemCheck::App::ElasticsearchCheck
=======
SystemCheck::App::ActiveUsersCheck SystemCheck::App::ActiveUsersCheck
>>>>>>> ce/master
] ]
# EE only
checks << SystemCheck::App::ElasticsearchCheck
SystemCheck.run('GitLab', checks) SystemCheck.run('GitLab', checks)
end end
end end
...@@ -544,7 +542,6 @@ namespace :gitlab do ...@@ -544,7 +542,6 @@ namespace :gitlab do
end end
end end
<<<<<<< HEAD
namespace :geo do namespace :geo do
desc 'GitLab | Check Geo configuration and dependencies' desc 'GitLab | Check Geo configuration and dependencies'
task check: :environment do task check: :environment do
...@@ -582,14 +579,6 @@ namespace :gitlab do ...@@ -582,14 +579,6 @@ namespace :gitlab do
puts 'yes'.color(:green) puts 'yes'.color(:green)
else else
puts 'no'.color(:red) puts 'no'.color(:red)
=======
# Helper methods
##########################
def check_gitlab_shell
required_version = Gitlab::VersionInfo.new(gitlab_shell_major_version, gitlab_shell_minor_version, gitlab_shell_patch_version)
current_version = Gitlab::VersionInfo.parse(gitlab_shell_version)
>>>>>>> ce/master
try_fixing_it( try_fixing_it(
'Follow Geo Setup instructions to configure primary and secondary nodes' 'Follow Geo Setup instructions to configure primary and secondary nodes'
...@@ -599,7 +588,6 @@ namespace :gitlab do ...@@ -599,7 +588,6 @@ namespace :gitlab do
end end
end end
<<<<<<< HEAD
def check_nodes_http_connection def check_nodes_http_connection
return unless Gitlab::Geo.enabled? return unless Gitlab::Geo.enabled?
...@@ -644,8 +632,6 @@ namespace :gitlab do ...@@ -644,8 +632,6 @@ namespace :gitlab do
end end
end end
=======
>>>>>>> ce/master
def check_repo_integrity(repo_dir) def check_repo_integrity(repo_dir)
puts "\nChecking repo at #{repo_dir.color(:yellow)}" puts "\nChecking repo at #{repo_dir.color(:yellow)}"
......
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