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']
|
|
|
|
|
2021-09-30 23:02:18 +05:30
|
|
|
task :gitlab_environment do
|
|
|
|
Rake::Task[:environment].invoke unless ENV['SKIP_RAILS_ENV_IN_RAKE']
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
extend SystemCheck::Helpers
|
2017-08-17 22:00:37 +05:30
|
|
|
end
|