debian-mirror-gitlab/lib/tasks/gitlab/helpers.rake
2018-03-17 18:26:18 +05:30

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