e26acdb11b
Unfortunately rake doesn't have nested context, everything just runs on a main rake object. This is probably due to compatibility issue, but anyway, we could just extend the object.
8 lines
229 B
Ruby
8 lines
229 B
Ruby
require 'tasks/gitlab/task_helpers'
|
|
|
|
# Prevent StateMachine warnings from outputting during a cron task
|
|
StateMachines::Machine.ignore_method_conflicts = true if ENV['CRON']
|
|
|
|
namespace :gitlab do
|
|
extend SystemCheck::Helpers
|
|
end
|