Shinya Maeda
5b3af86091
Update object_storage.rb
2018-05-28 10:20:16 +09:00
Rémy Coutable
e531a0c11c
Use the new CacheableAttributes concern in the ApplicationSetting and Appearance models
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-23 16:14:43 +02:00
Kamil Trzciński
a28f25b565
Fix direct_upload when records with null file_store are used
...
Old records have a null value of file_store column.
This causes the problems with current direct_upload implementation,
as this makes it to choose Store::REMOTE instead of Store::LOCAL.
This change moves the store save when change saving the object.
2018-04-19 12:09:51 +02:00
Kamil Trzciński
678620cce6
Add `direct_upload` setting for artifacts
2018-04-05 15:01:14 +02:00
Kamil Trzciński
9dde7df247
Allow to store uploads by default on Object Storage
...
Introduce `direct_upload` option for `uploads` which is gonna set a default storage to Object Storage and use Unicorn to save data
2018-04-04 23:13:45 +02:00
Alessio Caiazza
ae27a47b6e
Add Gitlab::ExclusiveLease to ObjectStorage#use_file
2018-03-29 10:01:23 +02:00
Alessio Caiazza
04c5e637f8
Port LFS direct_upload from EE
2018-03-27 10:32:48 +02:00
Micaël Bergeron
c0047fc473
personal snippets will now comply with `background_upload`
2018-03-26 08:33:53 -04:00
Micaël Bergeron
fc6587f1f2
Add proxy_download to perform proxied sending of all files
2018-03-09 09:16:06 -05:00
Micaël Bergeron
d59210de58
Merge branch 'fix/sm/atomic-migration' into 'master'
...
Fix migrate! method (Minimal fix with ExclusiveLock to prevent race conditions)
Closes #4928 and #4980
See merge request gitlab-org/gitlab-ee!4624
2018-03-01 10:40:40 -05:00
Micaël Bergeron
5cf1cc6a0f
remove the license check
2018-03-01 10:36:56 -05:00
Micaël Bergeron
a8df653fae
another round of fixes
2018-03-01 10:36:24 -05:00
Micaël Bergeron
0f1d348d68
port the object storage to CE
2018-03-01 10:34:30 -05:00