Commit graph

6 commits

Author SHA1 Message Date
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
James Lopez
a2aa505805
Refactor code to remove object storage flag from Import/Export
Updated docs, refactor import/export code
Fix AvatarUploader path issue
Fix project export upload webhook error
2018-09-06 16:52:42 +02:00
Valery Sizov
581a946f5a Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6860 2018-08-14 19:21:48 +03: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