Sha256: b72e3bc768332ae9da67803c5e1465fe06feb2f030089ce830da9c8267c3e290
Contents?: true
Size: 1.94 KB
Versions: 17
Compression:
Stored size: 1.94 KB
Contents
require 'yaml' module Gitlab module QA module Scenario module Test module Integration class Kubernetes < Scenario::Template # rubocop:disable Metrics/AbcSize def perform(release) Runtime::Env.require_kubernetes_environment! Component::Gitlab.perform do |gitlab| gitlab.release = release gitlab.network = 'test' Component::InternetTunnel.perform do |tunnel_gitlab| Component::InternetTunnel.perform do |tunnel_registry| tunnel_gitlab.gitlab_hostname = gitlab.hostname tunnel_gitlab.network = 'test' tunnel_registry.gitlab_hostname = gitlab.hostname tunnel_registry.network = 'test' gitlab.omnibus_config = <<~OMNIBUS external_url '#{tunnel_gitlab.url}'; nginx['listen_port'] = 80; nginx['listen_https'] = false; registry_external_url '#{tunnel_registry.url}'; registry_nginx['listen_port'] = 80; registry_nginx['listen_https'] = false; OMNIBUS tunnel_gitlab.instance do tunnel_registry.instance do gitlab.instance do Component::Specs.perform do |specs| specs.suite = 'Test::Integration::Kubernetes' specs.release = gitlab.release specs.network = gitlab.network specs.args = [tunnel_gitlab.url] end end end end end end end end # rubocop:enable Metrics/AbcSize end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems