2020-08-28 15:10:21 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-08-29 15:10:28 +00:00
|
|
|
response = ::Gitlab::DatabaseImporters::SelfMonitoring::Project::CreateService.new.execute
|
2020-08-28 15:10:21 +00:00
|
|
|
|
|
|
|
if response[:status] == :success
|
|
|
|
puts "Successfully created self monitoring project."
|
|
|
|
else
|
|
|
|
puts "Could not create self monitoring project due to error: '#{response[:message]}'"
|
|
|
|
puts "Check logs for more details."
|
|
|
|
end
|