gitlab-org--gitlab-foss/lib/tasks/gitlab/helpers.rake
2018-01-26 19:42:48 +08:00

6 lines
212 B
Ruby

# Prevent StateMachine warnings from outputting during a cron task
StateMachines::Machine.ignore_method_conflicts = true if ENV['CRON']
task gitlab_environment: :environment do
extend SystemCheck::Helpers
end