diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-02-13 02:33:31 +0300 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-05-31 15:33:03 +0300 |
commit | 500e5227a08bd603a2943c3c7d2efcaf4a40cc15 (patch) | |
tree | bb0561e03b6bff783a925c479412dfa043376190 /lib/tasks/gitlab/check.rake | |
parent | 19ee16a0f85dd4bacddbd066237e62a1bbb7113a (diff) |
WIP SystemCheck library for executing checks from a rake task
Diffstat (limited to 'lib/tasks/gitlab/check.rake')
-rw-r--r-- | lib/tasks/gitlab/check.rake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index f41c73154f5..88ec9cbc8cc 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -848,10 +848,12 @@ namespace :gitlab do # Helper methods ########################## + # @deprecated Please use SystemChecks def fix_and_rerun puts " Please fix the error above and rerun the checks.".color(:red) end + # @deprecated Please use SystemChecks def for_more_information(*sources) sources = sources.shift if sources.first.is_a?(Array) @@ -861,6 +863,7 @@ namespace :gitlab do end end + # @deprecated Please use SystemChecks def finished_checking(component) puts "" puts "Checking #{component.color(:yellow)} ... #{"Finished".color(:green)}" @@ -883,11 +886,13 @@ namespace :gitlab do Gitlab.config.gitlab.user end + # @deprecated Please use SystemChecks def start_checking(component) puts "Checking #{component.color(:yellow)} ..." puts "" end + # @deprecated Please use SystemChecks def try_fixing_it(*steps) steps = steps.shift if steps.first.is_a?(Array) |