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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d285ed79f26892ee7699676a173247fac7a727b28cf5f1a82bc88c1365eb395
|
|
4
|
+
data.tar.gz: e06a95829a877c2d198713b3cc6cd45defff417e78f24f254580d22fe5d3f6b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 291d67746efa1a67cae722cb0dae38ba34fe46caac956ceb5d084e0b74cf650b734ae9f07bca363f721c9c5b788381751fd3e76171e7dc03cfb26f026e96425e
|
|
7
|
+
data.tar.gz: 467820916ff35b99c6533f8912281580157243f3fddf42ec70cf915573c745e5b678cb1da7bb7fce7c37dbae2a1b2a71ed6f2610aee236d07bb44b36ff9ba167
|
data/Gemfile.lock
CHANGED
|
@@ -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
|
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: 14.19.
|
|
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-
|
|
11
|
+
date: 2024-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: climate_control
|