Commit 34424b18 authored by Rémy Coutable's avatar Rémy Coutable

[QA] Fix the 'no setup' workflow in Geo scenario

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 3e5a9a09
......@@ -17,6 +17,10 @@ module QA
attribute :geo_skip_setup?, '--without-setup'
def perform(options, *rspec_options)
# Alias QA::Runtime::Scenario.gitlab_address to @address since
# some components depends on QA::Runtime::Scenario.gitlab_address.
QA::Runtime::Scenario.define(:gitlab_address, QA::Runtime::Scenario.geo_primary_address)
unless options[:geo_skip_setup?]
Geo::Primary.act do
add_license
......@@ -45,10 +49,6 @@ module QA
def initialize
@address = QA::Runtime::Scenario.geo_primary_address
@name = QA::Runtime::Scenario.geo_primary_name
# Alias QA::Runtime::Scenario.gitlab_address to @address since
# some components depends on QA::Runtime::Scenario.gitlab_address.
QA::Runtime::Scenario.define(:gitlab_address, @address)
end
def add_license
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment