Sha256: 1230495c1383487c4e5527b49ede1da878797b94313f8bbded1e54c6267e3188
Contents?: true
Size: 1.54 KB
Versions: 17
Compression:
Stored size: 1.54 KB
Contents
# frozen_string_literal: true module Gitlab module QA module Scenario module Test module Integration class Registry < Scenario::Template def perform(release, *rspec_args) Component::Gitlab.perform do |gitlab| gitlab.release = release gitlab.network = 'test' gitlab.name = 'gitlab' gitlab.tls = true gitlab.omnibus_configuration << <<~OMNIBUS external_url 'https://#{gitlab.name}.#{gitlab.network}'; registry_external_url 'https://#{gitlab.name}.#{gitlab.network}:5050'; letsencrypt['enable'] = false; nginx['redirect_http_to_https'] = true; nginx['ssl_certificate'] = "/etc/gitlab/ssl/gitlab.test.crt"; nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/gitlab.test.key"; registry_nginx['ssl_certificate'] = "/etc/gitlab/ssl/gitlab.test.crt"; registry_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/gitlab.test.key"; OMNIBUS gitlab.instance do Component::Specs.perform do |specs| specs.suite = 'Test::Integration::Registry' specs.release = gitlab.release specs.network = gitlab.network specs.args = [gitlab.address, *rspec_args] end end end end end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems