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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd00b4dae2903d37b27ad2af74518a9ec7cc5a24de8d19e7b13c5e8f068360be
4
- data.tar.gz: 0bc24e9ae52c867a0489344796c10ff348d6ae3cd985f3eb4094cf4a9b0fcd21
3
+ metadata.gz: eee3720392a340a5c044a75f4c171c69a206454bb5a55f912af79292c051e31f
4
+ data.tar.gz: 7655dfd19f4a18c9db558ed70b5f0321d89c2aa3556b3ab025d4dc495afd4ac5
5
5
  SHA512:
6
- metadata.gz: cd7accfbcca5ebecd1cd58665f44c22078ba1bd32c85eac5fd957152a91cad2ffe17530ff7ed237910800b274bab213adc4c8b04345d1e5de3e0be9820c3d6ae
7
- data.tar.gz: 7dfac98a63c655d4c9d4db054a37a7557bec4a36a88707bac33363407bcd25215139e864d4889cf6d9fc3636862373a44addcc49315f0021d5aa68b303da771d
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|
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Gitlab
2
2
  module QA
3
- VERSION = '5.13.2'.freeze
3
+ VERSION = '5.13.3'.freeze
4
4
  end
5
5
  end
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.2
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-25 00:00:00.000000000 Z
11
+ date: 2020-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control