Sha256: 979e47becace3619f16a1c2fb68c3dad85dd376605474c0cba92b2fdeaac1c8f
Contents?: true
Size: 1.24 KB
Versions: 12
Compression:
Stored size: 1.24 KB
Contents
module Gitlab module QA module Scenario module Test module Integration class Mattermost < Scenario::Template def perform(release, *rspec_args) Component::Gitlab.perform do |gitlab| gitlab.release = release gitlab.network = 'test' mattermost_hostname = "mattermost.#{gitlab.network}" mattermost_external_url = "http://#{mattermost_hostname}" gitlab.add_network_alias(mattermost_hostname) gitlab.omnibus_configuration << <<~OMNIBUS mattermost_external_url '#{mattermost_external_url}'; OMNIBUS gitlab.instance do Component::Specs.perform do |specs| specs.suite = 'Test::Integration::Mattermost' specs.release = gitlab.release specs.network = gitlab.network specs.args = [ gitlab.address, "--mattermost-address", mattermost_external_url, *rspec_args ] end end end end end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems