2018-11-28 00:08:31 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module SystemCheck
|
|
|
|
module RakeTask
|
|
|
|
# Used by gitlab:app:check rake task
|
|
|
|
module AppTask
|
|
|
|
extend RakeTaskHelpers
|
|
|
|
|
|
|
|
def self.name
|
|
|
|
'GitLab App'
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.checks
|
|
|
|
[
|
|
|
|
SystemCheck::App::GitConfigCheck,
|
|
|
|
SystemCheck::App::DatabaseConfigExistsCheck,
|
|
|
|
SystemCheck::App::MigrationsAreUpCheck,
|
|
|
|
SystemCheck::App::OrphanedGroupMembersCheck,
|
|
|
|
SystemCheck::App::GitlabConfigExistsCheck,
|
|
|
|
SystemCheck::App::GitlabConfigUpToDateCheck,
|
|
|
|
SystemCheck::App::LogWritableCheck,
|
|
|
|
SystemCheck::App::TmpWritableCheck,
|
|
|
|
SystemCheck::App::UploadsDirectoryExistsCheck,
|
|
|
|
SystemCheck::App::UploadsPathPermissionCheck,
|
|
|
|
SystemCheck::App::UploadsPathTmpPermissionCheck,
|
|
|
|
SystemCheck::App::InitScriptExistsCheck,
|
|
|
|
SystemCheck::App::InitScriptUpToDateCheck,
|
|
|
|
SystemCheck::App::ProjectsHaveNamespaceCheck,
|
|
|
|
SystemCheck::App::RedisVersionCheck,
|
|
|
|
SystemCheck::App::RubyVersionCheck,
|
|
|
|
SystemCheck::App::GitVersionCheck,
|
|
|
|
SystemCheck::App::GitUserDefaultSSHConfigCheck,
|
2019-08-27 04:33:48 +00:00
|
|
|
SystemCheck::App::ActiveUsersCheck,
|
|
|
|
SystemCheck::App::AuthorizedKeysPermissionCheck
|
2018-11-28 00:08:31 +00:00
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2019-09-13 13:26:31 +00:00
|
|
|
|
|
|
|
SystemCheck::RakeTask::AppTask.prepend_if_ee('EE::SystemCheck::RakeTask::AppTask')
|