Class: Gitlab::QA::Runtime::OmnibusConfigurations::RegistryObjectStorage
- Inherits:
-
Default
- Object
- Gitlab::QA::Runtime::OmnibusConfiguration
- Default
- Gitlab::QA::Runtime::OmnibusConfigurations::RegistryObjectStorage
- Defined in:
- lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
Instance Method Summary collapse
Methods inherited from Default
Methods inherited from Gitlab::QA::Runtime::OmnibusConfiguration
#<<, #exec_commands, #initialize, #prepare, #sanitize!, #to_s
Constructor Details
This class inherits a constructor from Gitlab::QA::Runtime::OmnibusConfiguration
Instance Method Details
#configuration ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb', line 8 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 |