parent
1935176500
commit
f979e80f24
@ -0,0 +1,11 @@
|
||||
namespace :gitlab do
|
||||
desc "sync gitlab's commit acts to trustie"
|
||||
task :unused => :environment do
|
||||
begin
|
||||
Project.where("id in (161,236,266)").update_all(:gpid => nil)
|
||||
Repository.where("project_id in (161,236,266)").destroy_all
|
||||
rescue Exception => e
|
||||
puts e
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in new issue