Sha256: 0a3d926a15c1a9538ed70cc68dd712c34471a830462cf70c4100b870b860fbbf

Contents?: true

Size: 582 Bytes

Versions: 108

Compression:

Stored size: 582 Bytes

Contents

# frozen_string_literal: true

module Gitlab
  module QA
    module Runtime
      module OmnibusConfigurations
        class RegistryObjectStorage < Default
          def configuration
            Runtime::Env.require_aws_s3_environment!

            <<~OMNIBUS
              registry['storage'] = { 's3' => { 'accesskey' => '#{Runtime::Env.aws_s3_key_id}', 'secretkey' => '#{Runtime::Env.aws_s3_access_key}', 'bucket' => '#{Runtime::Env.aws_s3_bucket_name}', 'region' => '#{Runtime::Env.aws_s3_region}' } }
            OMNIBUS
          end
        end
      end
    end
  end
end

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
gitlab-qa-14.2.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-14.1.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-14.0.2 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-14.0.1 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-14.0.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-13.2.1 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-13.2.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-13.1.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-13.0.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-12.5.1 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-12.5.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-12.4.1 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-12.4.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-12.3.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-10.3.0.1 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-12.2.1 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-12.2.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-12.1.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-12.0.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
gitlab-qa-11.3.0 lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb