gitlab-qa 5.13.2 → 5.13.3
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/lib/gitlab/qa/component/gitlab.rb +11 -0
- data/lib/gitlab/qa/release.rb +5 -0
- 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: eee3720392a340a5c044a75f4c171c69a206454bb5a55f912af79292c051e31f
|
|
4
|
+
data.tar.gz: 7655dfd19f4a18c9db558ed70b5f0321d89c2aa3556b3ab025d4dc495afd4ac5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73394e3956b9d62e290c605f10694c102da38681741593bd521d76fc513ca8b45ba919f669c64341db36f9a671e62764ea50f48b8eaf91bc7fe52a586f7b052e
|
|
7
|
+
data.tar.gz: 3e325da83b7efd3084c8db5172cc03f5eda6fbccd5fe6e457c2fac1441773c22b18c54fcafe0eb37b00ad8ab57fef7e9d4d587cb8da89d2e28d2589adad1cec8
|
|
@@ -137,6 +137,17 @@ module Gitlab
|
|
|
137
137
|
QA::Release::DEV_REGISTRY
|
|
138
138
|
]
|
|
139
139
|
)
|
|
140
|
+
elsif release.omnibus_mirror?
|
|
141
|
+
bot_token = ENV['GITLAB_BOT_MULTI_PROJECT_PIPELINE_POLLING_TOKEN']
|
|
142
|
+
|
|
143
|
+
Docker::Command.execute(
|
|
144
|
+
[
|
|
145
|
+
'login',
|
|
146
|
+
'--username gitlab-bot',
|
|
147
|
+
%(--password "#{bot_token}"),
|
|
148
|
+
QA::Release::COM_REGISTRY
|
|
149
|
+
]
|
|
150
|
+
)
|
|
140
151
|
end
|
|
141
152
|
|
|
142
153
|
docker.run(image, tag) do |command|
|
data/lib/gitlab/qa/release.rb
CHANGED
|
@@ -52,6 +52,7 @@ module Gitlab
|
|
|
52
52
|
DEFAULT_TAG = 'latest'.freeze
|
|
53
53
|
DEFAULT_CANONICAL_TAG = 'nightly'.freeze
|
|
54
54
|
DEV_REGISTRY = 'dev.gitlab.org:5005'.freeze
|
|
55
|
+
COM_REGISTRY = 'registry.gitlab.com'.freeze
|
|
55
56
|
|
|
56
57
|
InvalidImageNameError = Class.new(RuntimeError)
|
|
57
58
|
|
|
@@ -138,6 +139,10 @@ module Gitlab
|
|
|
138
139
|
image.start_with?(DEV_REGISTRY)
|
|
139
140
|
end
|
|
140
141
|
|
|
142
|
+
def omnibus_mirror?
|
|
143
|
+
image.start_with?("#{COM_REGISTRY}/gitlab-org/build/omnibus-gitlab-mirror/")
|
|
144
|
+
end
|
|
145
|
+
|
|
141
146
|
def valid?
|
|
142
147
|
canonical? || release.match?(CUSTOM_GITLAB_IMAGE_REGEX)
|
|
143
148
|
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: 5.13.
|
|
4
|
+
version: 5.13.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Grzegorz Bizon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-05-
|
|
11
|
+
date: 2020-05-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: climate_control
|