Jan Provaznik
2bfc317492
Use directories.new when getting S3 directory
...
Calling `Fog::Storage::AWS::Directories#get` requires the
ListAllMyBuckets permission, but we can avoid that extra query and
permission by initializing the directory with a specific bucket:
https://stackoverflow.com/a/12288581/1992201
2018-12-27 11:06:06 +01:00
Yorick Peterse
2039c8280d
Disable existing offenses for the CodeReuse cops
...
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Kamil Trzciński
0d729d5c54
Merge branch '46535-orphaned-uploads' into 'master'
...
Rake task for checking orphaned object store uploads
Closes #46535
See merge request gitlab-org/gitlab-ce!20918
2018-08-07 14:35:03 +00:00
Jarka Kadlecová
6aaeb6dc41
Clean orphaned files in object storage
2018-08-07 12:51:58 +02:00
Michael Kozono
a4351ac077
Add object storage related tests for `gitlab:cleanup:project_uploads` task
2018-08-03 04:36:43 +00:00
Michael Kozono
3cbd8b1343
Add local project uploads cleanup task
2018-07-31 11:09:42 -07:00