gitlab-qa 7.5.0 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/gitlab/qa.rb +1 -0
- data/lib/gitlab/qa/runtime/env.rb +2 -1
- data/lib/gitlab/qa/scenario/test/integration/registry.rb +44 -0
- data/lib/gitlab/qa/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a3edbc7044be8bd41d66f9a132918f13eafb37c31afce7423ec40f494678624
|
|
4
|
+
data.tar.gz: 4b4884f9b89b1c2575914d3e6257d7b7754bcf7af566e5f15451e18ebfde024b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b42783395647923f61c5581e684e2427866ee873577bc9ce7a3ab88b432e8e9719119042e730889e0ac52828a5029731092f422376f45685d99988e335d79c4b
|
|
7
|
+
data.tar.gz: b4f70c9b678bc6fc4292951564da6f7bbeced7b611a53b555e538824d11bf9fa5abbf38b5215be753b4b673e6724d3083daed6890b7f861840b91b5246f8e195
|
data/lib/gitlab/qa.rb
CHANGED
|
@@ -66,6 +66,7 @@ module Gitlab
|
|
|
66
66
|
autoload :SSHTunnel, 'gitlab/qa/scenario/test/integration/ssh_tunnel'
|
|
67
67
|
autoload :MTLS, 'gitlab/qa/scenario/test/integration/mtls'
|
|
68
68
|
autoload :ClientSSL, 'gitlab/qa/scenario/test/integration/client_ssl'
|
|
69
|
+
autoload :Registry, 'gitlab/qa/scenario/test/integration/registry'
|
|
69
70
|
end
|
|
70
71
|
|
|
71
72
|
module Sanity
|
|
@@ -92,7 +92,8 @@ module Gitlab
|
|
|
92
92
|
'DEPLOY_VERSION' => :deploy_version,
|
|
93
93
|
'GITLAB_QA_USER_AGENT' => :gitlab_qa_user_agent,
|
|
94
94
|
'GEO_FAILOVER' => :geo_failover,
|
|
95
|
-
'GITLAB_INITIAL_ROOT_PASSWORD' => :initial_root_password
|
|
95
|
+
'GITLAB_INITIAL_ROOT_PASSWORD' => :initial_root_password,
|
|
96
|
+
'GITLAB_TLS_CERTIFICATE' => :gitlab_tls_certificate
|
|
96
97
|
}.freeze
|
|
97
98
|
|
|
98
99
|
ENV_VARIABLES.each do |env_name, method_name|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Gitlab
|
|
4
|
+
module QA
|
|
5
|
+
module Scenario
|
|
6
|
+
module Test
|
|
7
|
+
module Integration
|
|
8
|
+
class Registry < Scenario::Template
|
|
9
|
+
def perform(release, *rspec_args)
|
|
10
|
+
Component::Gitlab.perform do |gitlab|
|
|
11
|
+
gitlab.release = release
|
|
12
|
+
gitlab.network = 'test'
|
|
13
|
+
gitlab.name = 'gitlab'
|
|
14
|
+
gitlab.tls = true
|
|
15
|
+
|
|
16
|
+
gitlab.omnibus_configuration << <<~OMNIBUS
|
|
17
|
+
external_url 'https://#{gitlab.name}.#{gitlab.network}';
|
|
18
|
+
registry_external_url 'https://#{gitlab.name}.#{gitlab.network}:5050';
|
|
19
|
+
|
|
20
|
+
letsencrypt['enable'] = false;
|
|
21
|
+
|
|
22
|
+
nginx['redirect_http_to_https'] = true;
|
|
23
|
+
nginx['ssl_certificate'] = "/etc/gitlab/ssl/gitlab.test.crt";
|
|
24
|
+
nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/gitlab.test.key";
|
|
25
|
+
registry_nginx['ssl_certificate'] = "/etc/gitlab/ssl/gitlab.test.crt";
|
|
26
|
+
registry_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/gitlab.test.key";
|
|
27
|
+
OMNIBUS
|
|
28
|
+
|
|
29
|
+
gitlab.instance do
|
|
30
|
+
Component::Specs.perform do |specs|
|
|
31
|
+
specs.suite = 'Test::Integration::Registry'
|
|
32
|
+
specs.release = gitlab.release
|
|
33
|
+
specs.network = gitlab.network
|
|
34
|
+
specs.args = [gitlab.address, *rspec_args]
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
data/lib/gitlab/qa/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitlab-qa
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.
|
|
4
|
+
version: 7.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GitLab Quality
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-07-
|
|
11
|
+
date: 2021-07-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: climate_control
|
|
@@ -328,6 +328,7 @@ files:
|
|
|
328
328
|
- lib/gitlab/qa/scenario/test/integration/mattermost.rb
|
|
329
329
|
- lib/gitlab/qa/scenario/test/integration/mtls.rb
|
|
330
330
|
- lib/gitlab/qa/scenario/test/integration/praefect.rb
|
|
331
|
+
- lib/gitlab/qa/scenario/test/integration/registry.rb
|
|
331
332
|
- lib/gitlab/qa/scenario/test/integration/saml.rb
|
|
332
333
|
- lib/gitlab/qa/scenario/test/integration/smtp.rb
|
|
333
334
|
- lib/gitlab/qa/scenario/test/integration/ssh_tunnel.rb
|