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 +4 -4
- data/README.md +16 -0
- data/config/unit_primitives/documentation_search.yml +1 -0
- data/config/unit_primitives/explain_code.yml +1 -0
- data/config/unit_primitives/fix_code.yml +1 -0
- data/config/unit_primitives/include_file_context.yml +1 -0
- data/config/unit_primitives/refactor_code.yml +1 -0
- data/config/unit_primitives/write_tests.yml +1 -0
- data/lib/gitlab/cloud_connector/available_services_generator.rb +6 -2
- data/lib/gitlab/cloud_connector/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 834c19f16956a30b9961ab92a94eb2b4787265aba496e11d639dac99a0a480bc
|
4
|
+
data.tar.gz: 9fc313ffd20de000c8981d266bfe57436d1fba496613c9c118576352ebd7aa35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
@@ -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
|
-
|
47
|
-
|
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
|
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.
|
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-
|
11
|
+
date: 2025-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|