gitlab-qa 8.3.2 → 8.4.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e196fadefd8ed7eb786eccf7b619ce3173077a85a42039c0e93174c3d468a4e
|
|
4
|
+
data.tar.gz: 99c644f122bf4c4db3b95032c39d572946597c983d00f6b4bb2949034df39055
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9e458196a7efd87fe5b432ee30bc8bc29bc88d18b3037e0be9ad1fb7beaf14537603ae14d2d6482a6154c990687b71ff25043877c410af55a67e61325c5eef4
|
|
7
|
+
data.tar.gz: 46803ea55f474a5a2b2b4f145200497f3d7646a11574cd1300ae068289c85da94003ef6d57638aec3d34d46474f80c99eafe6b146dbf331f412c203d745bd360
|
data/Gemfile.lock
CHANGED
|
@@ -14,8 +14,14 @@ module Gitlab
|
|
|
14
14
|
|
|
15
15
|
def initialize
|
|
16
16
|
@docker = Docker::Engine.new(stream_output: true) # stream test output directly instead of through logger
|
|
17
|
-
@volumes = {}
|
|
18
17
|
@env = {}
|
|
18
|
+
@volumes = {}
|
|
19
|
+
@default_volumes = { '/var/run/docker.sock' => '/var/run/docker.sock' }
|
|
20
|
+
return if Runtime::Env.qa_knapsack_report_path.blank?
|
|
21
|
+
|
|
22
|
+
@default_volumes[Runtime::Env.qa_knapsack_report_path] = File.join(
|
|
23
|
+
Docker::Volumes::QA_CONTAINER_WORKDIR, 'knapsack'
|
|
24
|
+
)
|
|
19
25
|
end
|
|
20
26
|
|
|
21
27
|
def perform
|
|
@@ -59,12 +65,12 @@ module Gitlab
|
|
|
59
65
|
command.env(key, value)
|
|
60
66
|
end
|
|
61
67
|
|
|
62
|
-
command.volume(
|
|
63
|
-
|
|
68
|
+
command.volume(
|
|
69
|
+
File.join(Runtime::Env.host_artifacts_dir, name),
|
|
70
|
+
File.join(Docker::Volumes::QA_CONTAINER_WORKDIR, 'tmp')
|
|
71
|
+
)
|
|
64
72
|
|
|
65
|
-
|
|
66
|
-
command.volume(to, from)
|
|
67
|
-
end
|
|
73
|
+
volumes.to_h.merge(default_volumes).each { |to, from| command.volume(to, from) }
|
|
68
74
|
|
|
69
75
|
command.name(name)
|
|
70
76
|
end
|
|
@@ -73,6 +79,8 @@ module Gitlab
|
|
|
73
79
|
|
|
74
80
|
private
|
|
75
81
|
|
|
82
|
+
attr_reader :default_volumes
|
|
83
|
+
|
|
76
84
|
def docker_pull_qa_image_if_needed
|
|
77
85
|
@docker.login(**release.login_params) if release.login_params
|
|
78
86
|
|
|
@@ -81,6 +81,7 @@ module Gitlab
|
|
|
81
81
|
'KNAPSACK_TEST_FILE_PATTERN' => :knapsack_test_file_pattern,
|
|
82
82
|
'KNAPSACK_TEST_DIR' => :knapsack_test_dir,
|
|
83
83
|
'QA_KNAPSACK_REPORT_GCS_CREDENTIALS' => :qa_knapsack_report_gcs_credentials,
|
|
84
|
+
'QA_KNAPSACK_REPORT_PATH' => :qa_knapsack_report_path,
|
|
84
85
|
'CI' => :ci,
|
|
85
86
|
'CI_COMMIT_REF_NAME' => :ci_commit_ref_name,
|
|
86
87
|
'CI_JOB_NAME' => :ci_job_name,
|
|
@@ -29,7 +29,6 @@ module Gitlab
|
|
|
29
29
|
specs.suite = @suite
|
|
30
30
|
specs.release = release
|
|
31
31
|
specs.args = non_rspec_args.push(*args)
|
|
32
|
-
specs.volumes[host_knapsack_report_path] = "/home/gitlab/qa/knapsack" if host_knapsack_report_path
|
|
33
32
|
end
|
|
34
33
|
end
|
|
35
34
|
|
|
@@ -40,10 +39,6 @@ module Gitlab
|
|
|
40
39
|
def deployment_component
|
|
41
40
|
raise NotImplementedError, 'Please define the Component for the deployment environment associated with this scenario.'
|
|
42
41
|
end
|
|
43
|
-
|
|
44
|
-
def host_knapsack_report_path
|
|
45
|
-
ENV["QA_KNAPSACK_REPORT_PATH"]
|
|
46
|
-
end
|
|
47
42
|
end
|
|
48
43
|
end
|
|
49
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: 8.
|
|
4
|
+
version: 8.4.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: 2022-08-
|
|
11
|
+
date: 2022-08-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: climate_control
|