Class: Gitlab::QA::Scenario::Test::Omnibus::Image

Inherits:
Gitlab::QA::Scenario::Template show all
Defined in:
lib/gitlab/qa/scenario/test/omnibus/image.rb

Instance Method Summary collapse

Methods inherited from Gitlab::QA::Scenario::Template

perform

Instance Method Details

#perform(release) ⇒ Object



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/gitlab/qa/scenario/test/omnibus/image.rb', line 9

def perform(release)
  Component::Gitlab.perform do |gitlab|
    gitlab.release = release
    gitlab.network = 'bridge'

    gitlab.act do
      prepare
      start
      reconfigure

      restart
      wait_until_ready
      teardown
    end
  end
end