gitlab-qa 15.7.1 → 15.7.2
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: e2f5e12b0e4b1d6949c3bf2ac7b988ab0f4b42a1c9e039828da20d0611f0e284
|
|
4
|
+
data.tar.gz: c41f28650cf5a9da55dbe1e97b6c9d4d04f08457e8d19f57982ecf193879603a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: afdb8a6544dd8aa320f1b076d16ce0aa6dc453e014f3bf8b7b30fd1b29a2abd0d1d99df34755ae4812e9bc1c83da7d154a7bfdc7a68894a1d2ef71b8bfacc17a
|
|
7
|
+
data.tar.gz: 6ddd0641fe2d3cf5e5f63915854bea06b4fac93ec18d2f6651f85dbd581621aa952741d35575f4ee56b91709c383c2c12318825e8250345857ff16c4930f086a
|
data/Gemfile.lock
CHANGED
data/lib/gitlab/qa/release.rb
CHANGED
|
@@ -154,6 +154,9 @@ module Gitlab
|
|
|
154
154
|
# Case 2: Auto-deploy packages from dev.gitlab.org (e.g., 12.1.201906121026-325a6632895.b340d0bd35d)
|
|
155
155
|
elsif match_data = tag.match(DEV_TAG_REGEX)
|
|
156
156
|
match_data[:gitlab_ref]
|
|
157
|
+
# Case 3: Internal release packages (e.g., 18.7.1-internal2-0)
|
|
158
|
+
elsif tag.match?(/\d+\.\d+\.\d+-internal\d+-0\z/)
|
|
159
|
+
tag.delete_suffix('-0')
|
|
157
160
|
else
|
|
158
161
|
tag.sub(/[-.]([ce]e)(\.(\d+))?\z/, '-\1')
|
|
159
162
|
end
|
|
@@ -42,6 +42,7 @@ module Gitlab
|
|
|
42
42
|
secondary.release = release
|
|
43
43
|
secondary.name = 'gitlab-secondary'
|
|
44
44
|
secondary.network = 'geo'
|
|
45
|
+
secondary.seed_admin_token = false
|
|
45
46
|
secondary.omnibus_configuration << <<~OMNIBUS
|
|
46
47
|
geo_secondary['db_fdw'] = true;
|
|
47
48
|
geo_secondary_role['enable'] = true;
|
|
@@ -57,7 +58,8 @@ module Gitlab
|
|
|
57
58
|
sidekiq['concurrency'] = 2;
|
|
58
59
|
puma['worker_processes'] = 2;
|
|
59
60
|
OMNIBUS
|
|
60
|
-
secondary.
|
|
61
|
+
secondary.add_exec_commands(fast_ssh_key_lookup_commands)
|
|
62
|
+
secondary.add_exec_commands(QA::Scenario::CLICommands.git_lfs_install_commands)
|
|
61
63
|
|
|
62
64
|
secondary.act do
|
|
63
65
|
# TODO, we do not wait for secondary to start because of
|
|
@@ -206,15 +206,32 @@ module Gitlab
|
|
|
206
206
|
.map { |version| Gem::Version.new("#{version[:major]}.#{version[:minor]}") }
|
|
207
207
|
end
|
|
208
208
|
|
|
209
|
+
UPGRADE_PATH_URL = "https://gitlab.com/gitlab-org/gitlab/-/raw/master/config/upgrade_path.yml"
|
|
210
|
+
UPGRADE_PATH_RETRIES = 3
|
|
211
|
+
UPGRADE_PATH_RETRY_DELAY = 5
|
|
212
|
+
|
|
209
213
|
# Upgrade path yml
|
|
210
214
|
#
|
|
211
215
|
# @return [String]
|
|
212
216
|
def upgrade_path_yml
|
|
213
|
-
@upgrade_path_yml ||=
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
217
|
+
@upgrade_path_yml ||= fetch_upgrade_path_with_retry
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
def fetch_upgrade_path_with_retry
|
|
221
|
+
retries = 0
|
|
222
|
+
|
|
223
|
+
logger.info("Fetching gitlab upgrade path from 'gitlab.com/gitlab-org/gitlab' project")
|
|
224
|
+
begin
|
|
225
|
+
HttpRequest.make_http_request(url: UPGRADE_PATH_URL).body
|
|
226
|
+
rescue StandardError => e
|
|
227
|
+
retries += 1
|
|
228
|
+
if retries <= UPGRADE_PATH_RETRIES
|
|
229
|
+
logger.warn("Failed to fetch upgrade path (attempt #{retries}/#{UPGRADE_PATH_RETRIES}): #{e.message}")
|
|
230
|
+
sleep UPGRADE_PATH_RETRY_DELAY
|
|
231
|
+
retry
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
raise "Failed to fetch gitlab upgrade path after #{UPGRADE_PATH_RETRIES} retries: #{e.message}"
|
|
218
235
|
end
|
|
219
236
|
end
|
|
220
237
|
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: 15.7.
|
|
4
|
+
version: 15.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GitLab Quality
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: climate_control
|