debian-mirror-gitlab/lib/tasks/gitlab/helpers.rake
2021-03-11 19:13:27 +05:30

8 lines
243 B
Ruby

# frozen_string_literal: true
# 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