Sha256: 72a7395b0bbc3297829c4731165e868479566e7bf6cde6d4ca3bb3f99b56f116
Contents?: true
Size: 1.7 KB
Versions: 13
Compression:
Stored size: 1.7 KB
Contents
require 'yaml' module Gitlab module QA module Scenario module Test module Integration class ObjectStorage < Scenario::Template def perform(release, *rspec_args) 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, *rspec_args] end end end end end end end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems