fast automerge: base implementation
This commit is contained in:
parent
ae565d24ee
commit
dcbb875c46
4 changed files with 36 additions and 11 deletions
|
@ -6,6 +6,13 @@ namespace :gitlab do
|
|||
git.admin_all_repo
|
||||
end
|
||||
|
||||
Project.find_each do |project|
|
||||
if project.repo_exists? && !project.satellite_exists?
|
||||
puts "Creating satellite for #{project.name}...".green
|
||||
project.create_repo_satellite
|
||||
end
|
||||
end
|
||||
|
||||
puts "Done!".green
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue