Class: SystemCheck::RakeTask::GitlabTask
- Inherits:
-
Object
- Object
- SystemCheck::RakeTask::GitlabTask
- Extended by:
- RakeTaskHelpers
- Defined in:
- lib/system_check/rake_task/gitlab_task.rb
Overview
Used by gitlab:check rake task
Class Method Summary collapse
Methods included from RakeTaskHelpers
checks, name, run!, run_checks!
Methods included from Helpers
#finished_checking, #fix_and_rerun, #for_more_information, #omnibus_gitlab?, #sanitized_message, #see_installation_guide_section, #should_sanitize?, #start_checking, #sudo_gitlab, #try_fixing_it
Methods included from Gitlab::TaskHelpers
#ask_to_continue, #checkout_or_clone_version, #checkout_version, #clone_repo, #get_version, #gid_for, #gitlab_user, #gitlab_user?, #invoke_and_time_task, #os_name, #prompt, #prompt_for_password, #repository_storage_paths_args, #run_and_match, #run_command, #run_command!, #uid_for, #user_home, #warn_user_is_not_gitlab
Class Method Details
.manual_run_checks! ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/system_check/rake_task/gitlab_task.rb', line 13 def self.manual_run_checks! start_checking("#{name} subtasks") subtasks.each(&:run_checks!) finished_checking("#{name} subtasks") end |
.name ⇒ Object
9 10 11 |
# File 'lib/system_check/rake_task/gitlab_task.rb', line 9 def self.name 'GitLab' end |
.subtasks ⇒ Object
21 22 23 24 25 26 27 28 29 30 |
# File 'lib/system_check/rake_task/gitlab_task.rb', line 21 def self.subtasks [ SystemCheck::RakeTask::GitlabShellTask, SystemCheck::RakeTask::GitalyTask, SystemCheck::RakeTask::SidekiqTask, SystemCheck::RakeTask::IncomingEmailTask, SystemCheck::RakeTask::LdapTask, SystemCheck::RakeTask::AppTask ] end |