Method: Gitlab::QA::Component::Base#image

Defined in:
lib/gitlab/qa/component/base.rb

#imageObject

Raises:

  • (NotImplementedError)


44
45
46
47
48
# File 'lib/gitlab/qa/component/base.rb', line 44

def image
  return self.class.const_get('DOCKER_IMAGE') if self.class.const_defined?('DOCKER_IMAGE')

  raise NotImplementedError, "#{self.class.name} must specify a docker image as DOCKER_IMAGE"
end