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: 3d5b82d626da25ea72196cade9499553040e8fb3dadc5b1afbbceef06ba1abb1
4
- data.tar.gz: 3a16cb5354eebd63a097a1f64269d4ad5cc6b4995069fb0ad30e38fd6b418758
3
+ metadata.gz: a0fcc43f5168f06e595be207434f527027f248c79e9d8cf8e487145ea04a5d4d
4
+ data.tar.gz: da86ca5c312a88236b2caedfa415780875169b45372b4139957e0ec0319b6539
5
5
  SHA512:
6
- metadata.gz: 3fef225828d82dafce07623c0fda78ce2b40676c20415e0246133e6ca5a71111f0a9d0b8353ee10ac845613dab94d0d2d0e499826dcf9f29d36d9725e3b17ddf
7
- data.tar.gz: e80f04f59c0863114455bf2e8daf7806e9f3fd1d4d21c3900de4d500678c55075f022ae09d265e15fa444c18ceb7ea4c03071c10438f9d403e145db6e7aa28b4
6
+ metadata.gz: 775235af65035d6f707aeb42fb1f06d92bf93fac76f809e433cb910041209d4a887bef3202f142e172c1effa4ff4796bbae22cfb5093d508200ddb6e975aff44
7
+ data.tar.gz: bc3ea767044fa48b63d3c4b6fb6f340eff33d5c9e2fae9b7770be46ffe7188962cbb4b89350a15cbdca58623f87f3f019bf2db276efe151b88a0e98667bda26a
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.2)
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'
@@ -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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module QA
5
- VERSION = '14.19.0'
5
+ VERSION = '14.19.2'
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.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-10-24 00:00:00.000000000 Z
11
+ date: 2024-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control