gitlab-qa 10.1.0 → 10.2.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/Gemfile.lock +1 -1
- data/docs/what_tests_can_be_run.md +4 -0
- data/lib/gitlab/qa/release.rb +22 -10
- data/lib/gitlab/qa/runtime/env.rb +5 -1
- data/lib/gitlab/qa/scenario/test/omnibus/update_from_previous.rb +1 -1
- data/lib/gitlab/qa/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aede5d84c866e5e020124c2e7d5df9e3a19a142ce774482eb6c05520c4442332
|
|
4
|
+
data.tar.gz: cc24b8d169a913fe0f8ff0ab69429201ded46e2ba10e6c1bd861a791b92e7683
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e12535c73f7452f7ee0b4298d3ea04f3ddc24e759bd98c2ac43241fc85585d85ebcbe7cb14bfdb72a898417ddd5485b698d9fdc3345687a4a6964b18139f567
|
|
7
|
+
data.tar.gz: 00f4bd3f028d2b96f9cb251dd0816c29c8cf5365bc5243765c833b8d03c8ba47f57ecdda5eaa7204772a9965f6a864296b069b607a5317ea558026a216b240ba
|
data/Gemfile.lock
CHANGED
|
@@ -108,6 +108,10 @@ All environment variables used by GitLab QA should be defined in [`lib/gitlab/qa
|
|
|
108
108
|
| `QA_1P_PASSWORD` | - | Password for authenticating into 1Password. | No |
|
|
109
109
|
| `QA_1P_SECRET` | - | Secret for authenticating into 1Password. | No |
|
|
110
110
|
| `QA_1P_GITHUB_UUID` | - | UUID for GitHub item in GitLab-QA 1Password vault. | No |
|
|
111
|
+
| `RELEASE` | - | The release image to use for an orchestrated GitLab instance. | No |
|
|
112
|
+
| `RELEASE_REGISTRY_URL` | - | The registry url to fetch the release image for an orchestrated GitLab. | No |
|
|
113
|
+
| `RELEASE_REGISTRY_USERNAME` | - | The username to log in to the registry for pulling the release image for orchestrated GitLab. | No |
|
|
114
|
+
| `RELEASE_REGISTRY_PASSWORD` | - | The password to log in to the registry for pulling the release image for orchestrated GitLab. | No |
|
|
111
115
|
|
|
112
116
|
## [Supported Remote Grid environment variables](./running_against_remote_grid.md)
|
|
113
117
|
|
data/lib/gitlab/qa/release.rb
CHANGED
|
@@ -152,17 +152,29 @@ module Gitlab
|
|
|
152
152
|
def login_params
|
|
153
153
|
return if Runtime::Env.skip_pull?
|
|
154
154
|
|
|
155
|
-
if dev_gitlab_org?
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
155
|
+
params = if dev_gitlab_org?
|
|
156
|
+
Runtime::Env.require_qa_dev_access_token!
|
|
157
|
+
|
|
158
|
+
{
|
|
159
|
+
username: Runtime::Env.gitlab_dev_username,
|
|
160
|
+
password: Runtime::Env.dev_access_token_variable,
|
|
161
|
+
registry: DEV_REGISTRY
|
|
162
|
+
}
|
|
163
|
+
elsif omnibus_mirror? || omnibus_security?
|
|
164
|
+
omnibus_login_params
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
populate_registry_env_vars(params)
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
def populate_registry_env_vars(params)
|
|
171
|
+
if params
|
|
172
|
+
Runtime::Env.release_registry_url = params[:registry]
|
|
173
|
+
Runtime::Env.release_registry_username = params[:username]
|
|
174
|
+
Runtime::Env.release_registry_password = params[:password]
|
|
165
175
|
end
|
|
176
|
+
|
|
177
|
+
params
|
|
166
178
|
end
|
|
167
179
|
|
|
168
180
|
def omnibus_login_params
|
|
@@ -144,7 +144,11 @@ module Gitlab
|
|
|
144
144
|
'QA_1P_EMAIL' => :qa_1p_email,
|
|
145
145
|
'QA_1P_PASSWORD' => :qa_1p_password,
|
|
146
146
|
'QA_1P_SECRET' => :qa_1p_secret,
|
|
147
|
-
'QA_1P_GITHUB_UUID' => :qa_1p_github_uuid
|
|
147
|
+
'QA_1P_GITHUB_UUID' => :qa_1p_github_uuid,
|
|
148
|
+
'RELEASE' => :release,
|
|
149
|
+
'RELEASE_REGISTRY_URL' => :release_registry_url,
|
|
150
|
+
'RELEASE_REGISTRY_USERNAME' => :release_registry_username,
|
|
151
|
+
'RELEASE_REGISTRY_PASSWORD' => :release_registry_password
|
|
148
152
|
}.freeze
|
|
149
153
|
|
|
150
154
|
ENV_VARIABLES.each do |env_name, method_name|
|
|
@@ -26,7 +26,7 @@ module Gitlab
|
|
|
26
26
|
@upgrade_path = Support::GitlabUpgradePath.new(
|
|
27
27
|
current_version,
|
|
28
28
|
semver_component,
|
|
29
|
-
from_edition || @current_release.edition
|
|
29
|
+
from_edition.nil? || from_edition == "--" ? @current_release.edition : from_edition
|
|
30
30
|
).fetch
|
|
31
31
|
|
|
32
32
|
upgrade_info = "#{[*upgrade_path, current_release].join(' => ')} (#{current_version})".bright
|
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: 10.
|
|
4
|
+
version: 10.2.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: 2023-04-
|
|
11
|
+
date: 2023-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: climate_control
|