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

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