summaryrefslogtreecommitdiff
path: root/qa/qa/scenario/entrypoint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/scenario/entrypoint.rb')
-rw-r--r--qa/qa/scenario/entrypoint.rb23
1 files changed, 12 insertions, 11 deletions
diff --git a/qa/qa/scenario/entrypoint.rb b/qa/qa/scenario/entrypoint.rb
index 8f708fe38ab..a6a7120aed8 100644
--- a/qa/qa/scenario/entrypoint.rb
+++ b/qa/qa/scenario/entrypoint.rb
@@ -7,18 +7,9 @@ module QA
class Entrypoint < Template
include Bootable
- def self.tags(*tags)
- @tags = tags
- end
-
- def self.get_tags
- @tags
- end
-
def perform(address, *files)
- Specs::Config.perform do |specs|
- specs.address = address
- end
+ Runtime::Scenario.define(:gitlab_address, address)
+ Specs::Config.perform
##
# Perform before hooks, which are different for CE and EE
@@ -33,6 +24,16 @@ module QA
)
end
end
+
+ private
+
+ def self.tags(*tags)
+ @tags = tags
+ end
+
+ def self.get_tags
+ @tags
+ end
end
end
end