gitlab-cloud-connector 1.10.0 → 1.11.0

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: 532fcf1708800b2df94a3c1b7db50f0c994af55aa9f5501c5646c4063e5af219
4
- data.tar.gz: ca439cf5f9d6a09182127c8205fa0a18fe29671391064953fc02a4a37403509a
3
+ metadata.gz: 834c19f16956a30b9961ab92a94eb2b4787265aba496e11d639dac99a0a480bc
4
+ data.tar.gz: 9fc313ffd20de000c8981d266bfe57436d1fba496613c9c118576352ebd7aa35
5
5
  SHA512:
6
- metadata.gz: ae922332aad1cbcb52bc382ce682ddbe9ffc5cfa23b59ba1d4f89d046ec821ccdfa788cfd42baa015c40a77573b65e0e0bf3375de16d3986b1d78c9838f9e910
7
- data.tar.gz: d61c8c0a49f0907641391697d75d200156f26f9165239ff887f2e7357b120cbe64144f79c25706734402e4e2c05071e677e55e814f022834613506d1709cd41d
6
+ metadata.gz: c37bd03ff7008f60770c84bd3e9b6a5b78085194a9aab24c0d617de87c2e026c144138dde00f7022804e6af2e2211a8911e9834805efc5a2c0fc2534f95545a1
7
+ data.tar.gz: 3aad6393757eb0a4e43948f8e4e24d4a51380991b307cfe0667566666897f3377e15118a4ccc5aaf25fc654cda9568c335793ad76cd18a8ae966e23d5d1e290b
data/README.md CHANGED
@@ -58,6 +58,22 @@ duo_chat.backend_services
58
58
  duo_chat.backend_services.map(&:jwt_aud)
59
59
  ```
60
60
 
61
+ ## Contributing
62
+
63
+ ### Test your changes locally
64
+
65
+ To test changes to the Ruby gem in your environment, you need to source gem contents from you local dir:
66
+
67
+ 1. add a `path` attribute to the `gem` definition in the `Gemfile:
68
+
69
+ ```ruby
70
+ gem "gitlab-cloud-connector", "~> 1.5", require: 'gitlab/cloud_connector', feature_category: :cloud_connector, path: '<path to gitlab-cloud-connector folder on your machine>/src/ruby/'
71
+ ```
72
+
73
+ 1. Run `bundle install` to apply the changes
74
+
75
+ Note: you may need to restart GitLab instance for changes to take effect (depends on your hot-reload configuration)
76
+
61
77
  ## Release Process
62
78
 
63
79
  See [Release Process](../../README.md#release-process)
@@ -9,4 +9,5 @@ backend_services:
9
9
  add_ons:
10
10
  - duo_pro
11
11
  - duo_enterprise
12
+ - duo_core
12
13
  - duo_amazon_q
@@ -10,3 +10,4 @@ backend_services:
10
10
  add_ons:
11
11
  - duo_pro
12
12
  - duo_enterprise
13
+ - duo_core
@@ -10,3 +10,4 @@ backend_services:
10
10
  add_ons:
11
11
  - duo_enterprise
12
12
  - duo_pro
13
+ - duo_core
@@ -10,3 +10,4 @@ backend_services:
10
10
  add_ons:
11
11
  - duo_enterprise
12
12
  - duo_pro
13
+ - duo_core
@@ -10,3 +10,4 @@ backend_services:
10
10
  add_ons:
11
11
  - duo_enterprise
12
12
  - duo_pro
13
+ - duo_core
@@ -9,3 +9,4 @@ backend_services:
9
9
  add_ons:
10
10
  - duo_pro
11
11
  - duo_enterprise
12
+ - duo_core
@@ -43,8 +43,12 @@ module Gitlab
43
43
  next if service.gitlab_realm && !service.gitlab_realm&.include?(gitlab_realm)
44
44
 
45
45
  service_config = generate_service_config(service.unit_primitives, service.basic_unit_primitive)
46
- # Remove duo_pro for self_hosted_models
47
- service_config['bundled_with'].delete('duo_pro') if service.name == 'self_hosted_models'
46
+
47
+ # For self_hosted_models, override bundling to only include duo_enterprise
48
+ if service.name == 'self_hosted_models'
49
+ duo_enterprise_config = service_config['bundled_with']['duo_enterprise']
50
+ service_config['bundled_with'] = { 'duo_enterprise' => duo_enterprise_config }
51
+ end
48
52
 
49
53
  services_config[service.name] = service_config
50
54
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module CloudConnector
5
- VERSION = '1.10.0'
5
+ VERSION = '1.11.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-cloud-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Milojevic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-04-28 00:00:00.000000000 Z
11
+ date: 2025-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport