Sha256: 23ace84ef598d24498f467510ed563f9cff5642c97f0bd44879c2eb246af9f78
Contents?: true
Size: 1.29 KB
Versions: 17
Compression:
Stored size: 1.29 KB
Contents
# frozen_string_literal: true 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 = Runtime::Env.docker_network 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
17 entries across 17 versions & 1 rubygems