Sha256: 0edf19fa0f4c8cc60cfac803d8293458a65ca011dea26fce19f45372d8f087c7
Contents?: true
Size: 1.76 KB
Versions: 13
Compression:
Stored size: 1.76 KB
Contents
require 'yaml' module Gitlab module QA module Scenario module Test module Integration class ObjectStorage < Scenario::Template # rubocop:disable Metrics/AbcSize def perform(release) Component::Gitlab.perform do |gitlab| gitlab.release = release gitlab.name = 'gitlab-object-storage' gitlab.network = 'test' Component::Minio.perform do |minio| minio.network = 'test' minio.add_bucket('upload-bucket') gitlab.omnibus_config = <<~OMNIBUS gitlab_rails['uploads_object_store_enabled'] = true; gitlab_rails['uploads_object_store_remote_directory'] = 'upload-bucket'; gitlab_rails['uploads_object_store_background_upload'] = false; gitlab_rails['uploads_object_store_direct_upload'] = true; gitlab_rails['uploads_object_store_proxy_download'] = true; gitlab_rails['uploads_object_store_connection'] = #{minio.to_config}; OMNIBUS minio.instance do gitlab.instance do puts 'Running object store specs!' Component::Specs.perform do |specs| specs.suite = 'Test::Integration::ObjectStorage' specs.release = gitlab.release specs.network = gitlab.network specs.args = [gitlab.address] end end end end end end # rubocop:enable Metrics/AbcSize end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems