debian-mirror-gitlab/lib/tasks/gitlab/helpers.rake

7 lines
212 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
# Prevent StateMachine warnings from outputting during a cron task
StateMachines::Machine.ignore_method_conflicts = true if ENV['CRON']
2018-03-17 18:26:18 +05:30
task gitlab_environment: :environment do
extend SystemCheck::Helpers
2017-08-17 22:00:37 +05:30
end