gitlab-qa 14.19.0 → 14.19.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0fcc43f5168f06e595be207434f527027f248c79e9d8cf8e487145ea04a5d4d
|
4
|
+
data.tar.gz: da86ca5c312a88236b2caedfa415780875169b45372b4139957e0ec0319b6539
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 775235af65035d6f707aeb42fb1f06d92bf93fac76f809e433cb910041209d4a887bef3202f142e172c1effa4ff4796bbae22cfb5093d508200ddb6e975aff44
|
7
|
+
data.tar.gz: bc3ea767044fa48b63d3c4b6fb6f340eff33d5c9e2fae9b7770be46ffe7188962cbb4b89350a15cbdca58623f87f3f019bf2db276efe151b88a0e98667bda26a
|
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'
|
@@ -41,6 +41,7 @@ module Gitlab
|
|
41
41
|
'CI_PROJECT_NAME' => :ci_project_name,
|
42
42
|
'CI_PROJECT_PATH' => :ci_project_path,
|
43
43
|
'CI_PROJECT_PATH_SLUG' => :ci_project_path_slug,
|
44
|
+
'CI_PROJECT_DIR' => :ci_project_dir,
|
44
45
|
'CI_RUNNER_ID' => :ci_runner_id,
|
45
46
|
'CI_SERVER_HOST' => :ci_server_host,
|
46
47
|
'CI_SERVER_PERSONAL_ACCESS_TOKEN' => :ci_server_personal_access_token,
|
@@ -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.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: 2024-
|
11
|
+
date: 2024-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|