Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
df7d807d
Commit
df7d807d
authored
Sep 16, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate CI services
parent
1b464bfe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
lib/tasks/ci/migrate.rake
lib/tasks/ci/migrate.rake
+7
-0
No files found.
lib/tasks/ci/migrate.rake
View file @
df7d807d
...
@@ -11,6 +11,7 @@ namespace :ci do
...
@@ -11,6 +11,7 @@ namespace :ci do
Rake
::
Task
[
"ci:migrate:db"
].
invoke
Rake
::
Task
[
"ci:migrate:db"
].
invoke
Rake
::
Task
[
"ci:migrate:autoincrements"
].
invoke
Rake
::
Task
[
"ci:migrate:autoincrements"
].
invoke
Rake
::
Task
[
"ci:migrate:tags"
].
invoke
Rake
::
Task
[
"ci:migrate:tags"
].
invoke
Rake
::
Task
[
"ci:migrate:services"
].
invoke
end
end
namespace
:migrate
do
namespace
:migrate
do
...
@@ -52,5 +53,11 @@ namespace :ci do
...
@@ -52,5 +53,11 @@ namespace :ci do
end
end
end
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
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment