gitlab-qa 7.11.0 → 7.12.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/.gitlab-ci.yml +38 -2
- data/lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb +19 -0
- data/lib/gitlab/qa/scenario/test/integration/gitaly_cluster.rb +1 -0
- data/lib/gitlab/qa/scenario/test/integration/registry.rb +2 -11
- data/lib/gitlab/qa/scenario/test/integration/registry_tls.rb +44 -0
- data/lib/gitlab/qa/version.rb +1 -1
- data/lib/gitlab/qa.rb +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b9dcb4935c0cc27ed0c101098a6ef19a63db8697aec420844b499b614190669
|
4
|
+
data.tar.gz: fff48c4b8887be1b5915885bf6698d1b34c289c794dafab5d12f63ce1ec52262
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98c19eeafde92cb7931460363ef0f29ee664af8e7e74ff22840b43b797ae24cac0adb3511c395810f33d017d0af3f3aa4618739a58f3cc111aed2046a8c04afc
|
7
|
+
data.tar.gz: c18900856b311a2a8f49260620684f276f69bf2dab35c0fdc1befe41572a1f92b549f00798646fb6c50b1d8fc9d578cc59721978cd5459a3bb45307dabf79919
|
data/.gitlab-ci.yml
CHANGED
@@ -756,13 +756,50 @@ ee:packages-quarantine:
|
|
756
756
|
GITLAB_QA_OPTIONS_COMBINED: "$GITLAB_QA_OPTIONS --omnibus-config packages"
|
757
757
|
QA_RSPEC_TAGS: "--tag quarantine --tag packages"
|
758
758
|
|
759
|
+
ce:object_storage_registry_tls:
|
760
|
+
extends:
|
761
|
+
- .test
|
762
|
+
- .high-capacity
|
763
|
+
- .ce-qa
|
764
|
+
- .rspec-report-opts
|
765
|
+
variables:
|
766
|
+
QA_SCENARIO: "Test::Integration::RegistryTLS --omnibus-config registry_object_storage"
|
767
|
+
|
768
|
+
ce:object_storage_registry_tls-quarantine:
|
769
|
+
extends:
|
770
|
+
- .test
|
771
|
+
- .high-capacity
|
772
|
+
- .ce-qa
|
773
|
+
- .quarantine
|
774
|
+
- .rspec-report-opts
|
775
|
+
variables:
|
776
|
+
QA_SCENARIO: "Test::Integration::RegistryTLS --omnibus-config registry_object_storage"
|
777
|
+
|
778
|
+
ee:object_storage_registry_tls:
|
779
|
+
extends:
|
780
|
+
- .test
|
781
|
+
- .high-capacity
|
782
|
+
- .ee-qa
|
783
|
+
- .rspec-report-opts
|
784
|
+
variables:
|
785
|
+
QA_SCENARIO: "Test::Integration::RegistryTLS --omnibus-config registry_object_storage"
|
786
|
+
|
787
|
+
ee:object_storage_registry_tls-quarantine:
|
788
|
+
extends:
|
789
|
+
- .test
|
790
|
+
- .high-capacity
|
791
|
+
- .ee-qa
|
792
|
+
- .quarantine
|
793
|
+
- .rspec-report-opts
|
794
|
+
variables:
|
795
|
+
QA_SCENARIO: "Test::Integration::RegistryTLS --omnibus-config registry_object_storage"
|
796
|
+
|
759
797
|
ce:registry:
|
760
798
|
extends:
|
761
799
|
- .test
|
762
800
|
- .high-capacity
|
763
801
|
- .ce-qa
|
764
802
|
- .rspec-report-opts
|
765
|
-
allow_failure: true
|
766
803
|
variables:
|
767
804
|
QA_SCENARIO: "Test::Integration::Registry"
|
768
805
|
|
@@ -782,7 +819,6 @@ ee:registry:
|
|
782
819
|
- .high-capacity
|
783
820
|
- .ee-qa
|
784
821
|
- .rspec-report-opts
|
785
|
-
allow_failure: true
|
786
822
|
variables:
|
787
823
|
QA_SCENARIO: "Test::Integration::Registry"
|
788
824
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Gitlab
|
4
|
+
module QA
|
5
|
+
module Runtime
|
6
|
+
module OmnibusConfigurations
|
7
|
+
class RegistryObjectStorage < Default
|
8
|
+
def configuration
|
9
|
+
Runtime::Env.require_aws_s3_environment!
|
10
|
+
|
11
|
+
<<~OMNIBUS
|
12
|
+
registry['storage'] = { 's3' => { 'accesskey' => '#{Runtime::Env.aws_s3_key_id}', 'secretkey' => '#{Runtime::Env.aws_s3_access_key}', 'bucket' => '#{Runtime::Env.aws_s3_bucket_name}', 'region' => '#{Runtime::Env.aws_s3_region}' } }
|
13
|
+
OMNIBUS
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -99,6 +99,7 @@ module Gitlab
|
|
99
99
|
praefect['listen_addr'] = '0.0.0.0:2305';
|
100
100
|
praefect['prometheus_listen_addr'] = '0.0.0.0:9652';
|
101
101
|
praefect['auth_token'] = 'PRAEFECT_EXTERNAL_TOKEN';
|
102
|
+
praefect['reconciliation_scheduling_interval'] = '10s';
|
102
103
|
praefect['database_host'] = '#{@database}.#{@network}';
|
103
104
|
praefect['database_user'] = 'postgres';
|
104
105
|
praefect['database_port'] = 5432;
|
@@ -11,19 +11,10 @@ module Gitlab
|
|
11
11
|
gitlab.release = release
|
12
12
|
gitlab.network = 'test'
|
13
13
|
gitlab.name = 'gitlab'
|
14
|
-
gitlab.tls = true
|
15
14
|
|
16
15
|
gitlab.omnibus_configuration << <<~OMNIBUS
|
17
|
-
external_url '
|
18
|
-
registry_external_url '
|
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";
|
16
|
+
external_url 'http://#{gitlab.name}.#{gitlab.network}';
|
17
|
+
registry_external_url 'http://#{gitlab.name}.#{gitlab.network}:5050';
|
27
18
|
OMNIBUS
|
28
19
|
|
29
20
|
gitlab.instance do
|
@@ -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 RegistryTLS < 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::RegistryTLS'
|
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
data/lib/gitlab/qa.rb
CHANGED
@@ -17,6 +17,7 @@ module Gitlab
|
|
17
17
|
autoload :ObjectStorageAws, 'gitlab/qa/runtime/omnibus_configurations/object_storage_aws'
|
18
18
|
autoload :ObjectStorageGcs, 'gitlab/qa/runtime/omnibus_configurations/object_storage_gcs'
|
19
19
|
autoload :LicenseMode, 'gitlab/qa/runtime/omnibus_configurations/license_mode'
|
20
|
+
autoload :RegistryObjectStorage, 'gitlab/qa/runtime/omnibus_configurations/registry_object_storage'
|
20
21
|
end
|
21
22
|
end
|
22
23
|
|
@@ -69,6 +70,7 @@ module Gitlab
|
|
69
70
|
autoload :MTLS, 'gitlab/qa/scenario/test/integration/mtls'
|
70
71
|
autoload :ClientSSL, 'gitlab/qa/scenario/test/integration/client_ssl'
|
71
72
|
autoload :Registry, 'gitlab/qa/scenario/test/integration/registry'
|
73
|
+
autoload :RegistryTLS, 'gitlab/qa/scenario/test/integration/registry_tls'
|
72
74
|
end
|
73
75
|
|
74
76
|
module Sanity
|
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.12.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-10-
|
11
|
+
date: 2021-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|
@@ -268,6 +268,7 @@ files:
|
|
268
268
|
- lib/gitlab/qa/runtime/omnibus_configurations/object_storage_aws.rb
|
269
269
|
- lib/gitlab/qa/runtime/omnibus_configurations/object_storage_gcs.rb
|
270
270
|
- lib/gitlab/qa/runtime/omnibus_configurations/packages.rb
|
271
|
+
- lib/gitlab/qa/runtime/omnibus_configurations/registry_object_storage.rb
|
271
272
|
- lib/gitlab/qa/runtime/scenario.rb
|
272
273
|
- lib/gitlab/qa/runtime/token_finder.rb
|
273
274
|
- lib/gitlab/qa/scenario/actable.rb
|
@@ -303,6 +304,7 @@ files:
|
|
303
304
|
- lib/gitlab/qa/scenario/test/integration/mtls.rb
|
304
305
|
- lib/gitlab/qa/scenario/test/integration/praefect.rb
|
305
306
|
- lib/gitlab/qa/scenario/test/integration/registry.rb
|
307
|
+
- lib/gitlab/qa/scenario/test/integration/registry_tls.rb
|
306
308
|
- lib/gitlab/qa/scenario/test/integration/saml.rb
|
307
309
|
- lib/gitlab/qa/scenario/test/integration/smtp.rb
|
308
310
|
- lib/gitlab/qa/scenario/test/integration/ssh_tunnel.rb
|