gitlab-qa 7.17.0 → 7.17.1
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: ff50dfd062e99694daf1ff16ba5a2dc90009e115ae7135daefad599d10cf71d3
|
4
|
+
data.tar.gz: 65d3e0b16cfb76564db771428aa8ed8a308ef2cabb4573cefe39f418c81dfce2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7270725434c4cdf1fa7b0630635087b8a9d4871929f705a97980b206a3a9cbe44c874974ae0fef215eb2521fa28c8f7bae866ec2e39ac13d16db95750bf82cb3
|
7
|
+
data.tar.gz: 7eb6bff95f128d1cf7a8ca99210cb8066a49871d4e676c22053e37e4137229a6d58e70c944267ee7a51ada4a803c3d00adbbc2c4b5c8083bbc3c79a068725795
|
@@ -703,6 +703,9 @@ in the GitLab project).
|
|
703
703
|
|
704
704
|
**Required environment variables:**
|
705
705
|
|
706
|
+
- `GITLAB_QA_USER_AGENT`: The browser user-agent to use instead of the default Chrome user-agent.
|
707
|
+
This is needed for the automated tests to bypass the WAF
|
708
|
+
|
706
709
|
- `GITLAB_QA_ACCESS_TOKEN`: A valid personal access token with the `api` scope.
|
707
710
|
This is used to retrieve the version that staging is currently running.
|
708
711
|
This can be found in the shared 1Password vault.
|
@@ -718,6 +721,7 @@ in the GitLab project).
|
|
718
721
|
Example:
|
719
722
|
|
720
723
|
```
|
724
|
+
$ export GITLAB_QA_USER_AGENT="$GITLAB_QA_USER_AGENT"
|
721
725
|
$ export GITLAB_QA_ACCESS_TOKEN=your_api_access_token
|
722
726
|
$ export GITLAB_QA_DEV_ACCESS_TOKEN=your_dev_registry_access_token
|
723
727
|
$ export GITLAB_USERNAME="gitlab-qa"
|
data/gitlab-qa.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency 'solargraph', '~> 0.41'
|
29
29
|
spec.add_development_dependency 'webmock', '3.7.0'
|
30
30
|
spec.add_runtime_dependency 'activesupport', '~> 6.1'
|
31
|
-
spec.add_runtime_dependency 'gitlab', '~> 4.
|
31
|
+
spec.add_runtime_dependency 'gitlab', '~> 4.18.0'
|
32
32
|
spec.add_runtime_dependency 'http', '~> 5.0'
|
33
33
|
spec.add_runtime_dependency 'nokogiri', '~> 1.10'
|
34
34
|
spec.add_runtime_dependency 'table_print', '1.5.7'
|
@@ -8,7 +8,7 @@ module Gitlab
|
|
8
8
|
# the `qa/` directory located in GitLab CE / EE repositories.
|
9
9
|
#
|
10
10
|
class Specs < Scenario::Template
|
11
|
-
attr_accessor :suite, :release, :network, :args, :volumes, :env, :runner_network
|
11
|
+
attr_accessor :suite, :release, :network, :args, :volumes, :env, :runner_network, :hostname
|
12
12
|
|
13
13
|
def initialize
|
14
14
|
@docker = Docker::Engine.new
|
@@ -45,6 +45,11 @@ module Gitlab
|
|
45
45
|
@docker.run(image: qa_image, args: [suite, *args_with_flags(args, feature_flag_set)]) do |command|
|
46
46
|
command << "-t --rm --net=#{network || 'bridge'}"
|
47
47
|
|
48
|
+
unless hostname.nil?
|
49
|
+
command << "--hostname #{hostname}"
|
50
|
+
command.env('QA_HOSTNAME', hostname)
|
51
|
+
end
|
52
|
+
|
48
53
|
env.merge(Runtime::Env.variables).each do |key, value|
|
49
54
|
command.env(key, value)
|
50
55
|
end
|
@@ -19,6 +19,7 @@ module Gitlab
|
|
19
19
|
gitlab.instance do
|
20
20
|
Component::Specs.perform do |specs|
|
21
21
|
specs.suite = 'Test::Instance::All'
|
22
|
+
specs.hostname = "qa-e2e-specs.#{gitlab.network}"
|
22
23
|
specs.release = gitlab.release
|
23
24
|
specs.network = gitlab.network
|
24
25
|
specs.args = [gitlab.address, *rspec_args]
|
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.17.
|
4
|
+
version: 7.17.1
|
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-12-
|
11
|
+
date: 2021-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 4.
|
131
|
+
version: 4.18.0
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 4.
|
138
|
+
version: 4.18.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: http
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|