Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-02-27 22:15:25 +0300
committerNick Thomas <nick@gitlab.com>2018-03-02 17:16:17 +0300
commit6f945f20b4c3683bc862ebc476bad9331d72784e (patch)
tree9504637169d3a410e03e9e75f1d72ee6a323187f /lib/tasks/gitlab/uploads
parent40c61acb6a9ba84928cebcbce8b57630bd439615 (diff)
Foreground verification of uploads and LFS objects
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