summaryrefslogtreecommitdiff
path: root/lib/system_check/rake_task/orphans/repository_task.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system_check/rake_task/orphans/repository_task.rb')
-rw-r--r--lib/system_check/rake_task/orphans/repository_task.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/system_check/rake_task/orphans/repository_task.rb b/lib/system_check/rake_task/orphans/repository_task.rb
new file mode 100644
index 00000000000..f14b3af22e8
--- /dev/null
+++ b/lib/system_check/rake_task/orphans/repository_task.rb
@@ -0,0 +1,20 @@
+# frozen_string_literal: true
+
+module SystemCheck
+ module RakeTask
+ module Orphans
+ # Used by gitlab:orphans:check_repositories rake task
+ class RepositoryTask
+ extend RakeTaskHelpers
+
+ def self.name
+ 'Orphans'
+ end
+
+ def self.checks
+ [SystemCheck::Orphans::RepositoryCheck]
+ end
+ end
+ end
+ end
+end