Class: Gitlab::QA::Service::ClusterProvider::Base
- Inherits:
-
Object
- Object
- Gitlab::QA::Service::ClusterProvider::Base
- Includes:
- Gitlab::QA::Support::Shellout
- Defined in:
- lib/gitlab/qa/service/cluster_provider/base.rb
Direct Known Subclasses
Constant Summary collapse
- GITLAB_REGISTRY =
'registry.gitlab.com'
Instance Attribute Summary collapse
-
#create_args ⇒ Object
Returns the value of attribute create_args.
Instance Method Summary collapse
Methods included from Gitlab::QA::Support::Shellout
Instance Attribute Details
#create_args ⇒ Object
Returns the value of attribute create_args.
12 13 14 |
# File 'lib/gitlab/qa/service/cluster_provider/base.rb', line 12 def create_args @create_args end |
Instance Method Details
#cluster_name ⇒ Object
14 15 16 |
# File 'lib/gitlab/qa/service/cluster_provider/base.rb', line 14 def cluster_name @cluster_name ||= "qa-cluster-#{Time.now.utc.strftime('%Y%m%d')}-#{SecureRandom.hex(4)}" end |
#setup ⇒ Object
22 23 24 |
# File 'lib/gitlab/qa/service/cluster_provider/base.rb', line 22 def setup raise NotImplementedError end |
#teardown ⇒ Object
26 27 28 |
# File 'lib/gitlab/qa/service/cluster_provider/base.rb', line 26 def teardown raise NotImplementedError end |
#validate_dependencies ⇒ Object
18 19 20 |
# File 'lib/gitlab/qa/service/cluster_provider/base.rb', line 18 def validate_dependencies raise NotImplementedError end |