6855e6b586
These changes make the code more reusable, testable, and most importantly, overrideable.
18 lines
296 B
Ruby
18 lines
296 B
Ruby
# frozen_string_literal: true
|
|
|
|
module SystemCheck
|
|
module RakeTask
|
|
# Used by gitlab:gitaly:check rake task
|
|
class GitalyTask
|
|
extend RakeTaskHelpers
|
|
|
|
def self.name
|
|
'Gitaly'
|
|
end
|
|
|
|
def self.checks
|
|
[SystemCheck::GitalyCheck]
|
|
end
|
|
end
|
|
end
|
|
end
|