9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# File 'lib/gitlab/qa/scenario/test/integration/registry_tls.rb', line 9
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 << " external_url 'https://\#{gitlab.name}.\#{gitlab.network}';\n registry_external_url 'https://\#{gitlab.name}.\#{gitlab.network}:5050';\n\n letsencrypt['enable'] = false;\n\n nginx['redirect_http_to_https'] = true;\n nginx['ssl_certificate'] = \"/etc/gitlab/ssl/gitlab.test.crt\";\n nginx['ssl_certificate_key'] = \"/etc/gitlab/ssl/gitlab.test.key\";\n registry_nginx['ssl_certificate'] = \"/etc/gitlab/ssl/gitlab.test.crt\";\n registry_nginx['ssl_certificate_key'] = \"/etc/gitlab/ssl/gitlab.test.key\";\n OMNIBUS\n\n gitlab.instance do\n Component::Specs.perform do |specs|\n specs.suite = 'Test::Integration::RegistryTLS'\n specs.release = gitlab.release\n specs.network = gitlab.network\n specs.args = [gitlab.address, *rspec_args]\n end\n end\n end\nend\n"
|