gitlab-qa 14.19.0 → 14.19.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: 3d5b82d626da25ea72196cade9499553040e8fb3dadc5b1afbbceef06ba1abb1
4
- data.tar.gz: 3a16cb5354eebd63a097a1f64269d4ad5cc6b4995069fb0ad30e38fd6b418758
3
+ metadata.gz: 3d285ed79f26892ee7699676a173247fac7a727b28cf5f1a82bc88c1365eb395
4
+ data.tar.gz: e06a95829a877c2d198713b3cc6cd45defff417e78f24f254580d22fe5d3f6b0
5
5
  SHA512:
6
- metadata.gz: 3fef225828d82dafce07623c0fda78ce2b40676c20415e0246133e6ca5a71111f0a9d0b8353ee10ac845613dab94d0d2d0e499826dcf9f29d36d9725e3b17ddf
7
- data.tar.gz: e80f04f59c0863114455bf2e8daf7806e9f3fd1d4d21c3900de4d500678c55075f022ae09d265e15fa444c18ceb7ea4c03071c10438f9d403e145db6e7aa28b4
6
+ metadata.gz: 291d67746efa1a67cae722cb0dae38ba34fe46caac956ceb5d084e0b74cf650b734ae9f07bca363f721c9c5b788381751fd3e76171e7dc03cfb26f026e96425e
7
+ data.tar.gz: 467820916ff35b99c6533f8912281580157243f3fddf42ec70cf915573c745e5b678cb1da7bb7fce7c37dbae2a1b2a71ed6f2610aee236d07bb44b36ff9ba167
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-qa (14.19.0)
4
+ gitlab-qa (14.19.1)
5
5
  activesupport (>= 6.1, < 7.2)
6
6
  gitlab (~> 4.19)
7
7
  http (~> 5.0)
@@ -6,7 +6,6 @@ module Gitlab
6
6
  class AiGateway < Base
7
7
  DOCKER_IMAGE = 'registry.gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist/model-gateway'
8
8
  DOCKER_IMAGE_TAG = 'latest'
9
- LOG_DIR = '/var/log'
10
9
 
11
10
  # Test signing key to enable direct connection code completions
12
11
  # https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist/-/blob/97f54f4b7e43258a39bba7f29f38fe44bd316ce5/example.env#L79
@@ -88,21 +87,12 @@ module Gitlab
88
87
  @name ||= 'ai-gateway'
89
88
  end
90
89
 
91
- def log_volume
92
- @log_volume ||= {
93
- src: File.join(Runtime::Env.host_artifacts_dir, @name, 'logs'),
94
- dest: LOG_DIR
95
- }
96
- end
97
-
98
90
  def configure_environment(gitlab_hostname:)
99
91
  @environment = {
100
92
  'AIGW_GITLAB_URL' => "http://#{gitlab_hostname}",
101
93
  'AIGW_GITLAB_API_URL' => "http://#{gitlab_hostname}/api/v4",
102
94
  'AIGW_CUSTOMER_PORTAL_URL' => Runtime::Env.customer_portal_url,
103
95
  'AIGW_MOCK_MODEL_RESPONSES' => true,
104
- 'AIGW_LOGGING__LEVEL' => 'debug',
105
- 'AIGW_LOGGING__TO_FILE' => "..#{LOG_DIR}/modelgateway_debug.log",
106
96
  'AIGW_SELF_SIGNED_JWT__SIGNING_KEY' => TEST_SIGNING_KEY,
107
97
  'AIGW_SELF_SIGNED_JWT__VALIDATION_KEY' => TEST_VALIDATION_KEY,
108
98
  'CLOUD_CONNECTOR_SERVICE_NAME' => 'gitlab-ai-gateway'
@@ -91,10 +91,11 @@ module Gitlab
91
91
  # @param [Gitlab::QA::Release] release
92
92
  # @param [Hash] volumes
93
93
  # @return [void]
94
- def run_gitlab(release, volumes, rspec_args = [], skip_setup: false)
94
+ def run_gitlab(release, volumes, rspec_args = [], skip_setup: false) # rubocop:disable Metrics/AbcSize
95
95
  Runtime::Logger.info("Deploying release: #{release.to_s.bright}")
96
96
 
97
97
  Component::Gitlab.perform do |gitlab|
98
+ gitlab.name = gitlab_name
98
99
  gitlab.release = release
99
100
  gitlab.volumes = volumes
100
101
  gitlab.network = Runtime::Env.docker_network
@@ -151,6 +152,10 @@ module Gitlab
151
152
  def run_specs?(release)
152
153
  [upgrade_path.first, current_release].any?(release)
153
154
  end
155
+
156
+ def gitlab_name
157
+ @gitlab_name ||= "gitlab-updatefromprevious-#{SecureRandom.hex(4)}"
158
+ end
154
159
  end
155
160
  end
156
161
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module QA
5
- VERSION = '14.19.0'
5
+ VERSION = '14.19.1'
6
6
  end
7
7
  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: 14.19.0
4
+ version: 14.19.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: 2024-10-24 00:00:00.000000000 Z
11
+ date: 2024-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control