Skip to content
Snippets Groups Projects
Commit df7d807d authored by Kamil Trzcińśki's avatar Kamil Trzcińśki
Browse files

Migrate CI services

parent 1b464bfe
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -11,6 +11,7 @@ namespace :ci do
Rake::Task["ci:migrate:db"].invoke
Rake::Task["ci:migrate:autoincrements"].invoke
Rake::Task["ci:migrate:tags"].invoke
Rake::Task["ci:migrate:services"].invoke
end
 
namespace :migrate do
Loading
Loading
@@ -52,5 +53,11 @@ namespace :ci do
end
end
end
desc 'GitLab | Migrate CI services'
task services: :environment do
c = ActiveRecord::Base.connection
c.execute("UPDATE ci_services SET type=CONCAT('Ci::'', type) WHERE type NOT LIKE 'Ci::%'")
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment