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
Constant Summary
Constants inherited from Gitlab::QA::Runtime::OmnibusConfiguration
Gitlab::QA::Runtime::OmnibusConfiguration::ERB_PATTERN
Instance Method Summary collapse
Methods inherited from Default
Methods inherited from Gitlab::QA::Runtime::OmnibusConfiguration
#<<, #exec_commands, #expand_config_template, #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' => '$AWS_S3_KEY_ID', 'secretkey' => '$AWS_S3_ACCESS_KEY', 'bucket' => '$AWS_S3_BUCKET_NAME', 'region' => '#{Runtime::Env.aws_s3_region}' } } OMNIBUS end |