gitlab-org--gitlab-foss/lib/tasks/gitlab/helpers.rake

7 lines
212 B
Ruby
Raw Normal View History

# 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