summaryrefslogtreecommitdiff
path: root/lib/tasks/gitlab/uploads
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-02-27 19:15:25 +0000
committerNick Thomas <nick@gitlab.com>2018-03-02 14:16:17 +0000
commit6f945f20b4c3683bc862ebc476bad9331d72784e (patch)
tree9504637169d3a410e03e9e75f1d72ee6a323187f /lib/tasks/gitlab/uploads
parent40c61acb6a9ba84928cebcbce8b57630bd439615 (diff)
downloadgitlab-ce-6f945f20b4c3683bc862ebc476bad9331d72784e.tar.gz
Foreground verification of uploads and LFS objectsee-4862-verify-file-checksums
Diffstat (limited to 'lib/tasks/gitlab/uploads')
-rw-r--r--lib/tasks/gitlab/uploads/check.rake8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/uploads/check.rake b/lib/tasks/gitlab/uploads/check.rake
new file mode 100644
index 00000000000..2be2ec7f9c9
--- /dev/null
+++ b/lib/tasks/gitlab/uploads/check.rake
@@ -0,0 +1,8 @@
+namespace :gitlab do
+ namespace :uploads do
+ desc 'GitLab | Uploads | Check integrity of uploaded files'
+ task check: :environment do
+ Gitlab::Verify::RakeTask.run!(Gitlab::Verify::Uploads)
+ end
+ end
+end