10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'lib/gitlab/qa/runtime/omnibus_configurations/object_storage.rb', line 10
def configuration
config = TYPES.each_with_object(+'') do |object_type, omnibus|
omnibus << <<~OMNIBUS
gitlab_rails['object_store']['objects']['#{object_type}']['bucket'] = '#{object_type}-bucket'
OMNIBUS
end
config << <<~OMNIBUS
gitlab_rails['object_store']['enabled'] = true
gitlab_rails['object_store']['proxy_download'] = true
gitlab_rails['object_store']['connection'] = #{minio.to_config}
OMNIBUS
end
|