43 lines
1.5 KiB
Ruby
43 lines
1.5 KiB
Ruby
# 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::DatabaseConfigExistsCheck,
|
|
SystemCheck::App::MigrationsAreUpCheck,
|
|
SystemCheck::App::OrphanedGroupMembersCheck,
|
|
SystemCheck::App::GitlabConfigExistsCheck,
|
|
SystemCheck::App::GitlabConfigUpToDateCheck,
|
|
SystemCheck::App::GitlabCableConfigExistsCheck,
|
|
SystemCheck::App::GitlabResqueConfigExistsCheck,
|
|
SystemCheck::App::LogWritableCheck,
|
|
SystemCheck::App::TmpWritableCheck,
|
|
SystemCheck::App::UploadsDirectoryExistsCheck,
|
|
SystemCheck::App::UploadsPathPermissionCheck,
|
|
SystemCheck::App::UploadsPathTmpPermissionCheck,
|
|
SystemCheck::App::SystemdUnitFilesOrInitScriptExistCheck,
|
|
SystemCheck::App::SystemdUnitFilesOrInitScriptUpToDateCheck,
|
|
SystemCheck::App::ProjectsHaveNamespaceCheck,
|
|
SystemCheck::App::RedisVersionCheck,
|
|
SystemCheck::App::RubyVersionCheck,
|
|
SystemCheck::App::GitUserDefaultSSHConfigCheck,
|
|
SystemCheck::App::ActiveUsersCheck,
|
|
SystemCheck::App::AuthorizedKeysPermissionCheck,
|
|
SystemCheck::App::HashedStorageEnabledCheck,
|
|
SystemCheck::App::HashedStorageAllProjectsCheck
|
|
]
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
SystemCheck::RakeTask::AppTask.prepend_mod_with('SystemCheck::RakeTask::AppTask')
|