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

9 lines
243 B
Ruby
Raw Normal View History

2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
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