gitlab_support_readiness 1.3.3 → 1.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c1529a2e27c3f6711bb9505d55f506e9321f42548eb861a4fa62c2890f95e07
|
4
|
+
data.tar.gz: 1e45c8d902e33c6d9ddf7e5a3cf850b5e1c341ad08a3c6f8afbf6b3af3befb35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b62aad883b5d6987a37403cbdf354742f1a4ea790969e0ee3670d645fdd7a2ce504fcf80ca2086064c4c2cb5f2d6c3efd1cb22c560dc78e424279e03b1e7383
|
7
|
+
data.tar.gz: e30d41c1eaa54be49d376633390fc7ce6e1dafd88ac8aad32c9000f79a6c7ef978f989e05e43fdca4d40a72712fa7e02245df0fc3440db74cf15743453498c00
|
@@ -205,7 +205,54 @@ module Readiness
|
|
205
205
|
<<~STRING
|
206
206
|
# Zendesk Global Organization Contact Syncing
|
207
207
|
|
208
|
-
|
208
|
+
## NOTE
|
209
|
+
|
210
|
+
This is a beta feature that is very likely to be deprecated in the future. Should it be deprecated, any existing contact management projects would be deactivated. If you are over 30 support contacts at that time, you would be unable to add more until the contacts were removed to get back to the 30 maximum limit.
|
211
|
+
|
212
|
+
## How it works
|
213
|
+
|
214
|
+
You edit the contacts.yaml file. The changes trigger a pipeline on our Ops instance. This syncs the changes over to the global support portal. Your organization's contacts then match the contacts.yaml file exactly.
|
215
|
+
|
216
|
+
## Adding a contact
|
217
|
+
|
218
|
+
To add a contact, add a new line at the bottom of the contact.yaml file in the following format:
|
219
|
+
|
220
|
+
```
|
221
|
+
- name: NAME_OF_CONTACT
|
222
|
+
email: EMAIL_OF_CONTACT
|
223
|
+
```
|
224
|
+
|
225
|
+
Replacing `NAME_OF_CONTACT` with the contact's name and `EMAIL_OF_CONTACT` with the email of the contact.
|
226
|
+
|
227
|
+
Commit the changes and the sync will take care of the rest!
|
228
|
+
|
229
|
+
## Removing a contact
|
230
|
+
|
231
|
+
To remove a contact, just delete the name and email rows from the file of the contact.
|
232
|
+
|
233
|
+
Commit the changes and the sync will take care of the rest!
|
234
|
+
|
235
|
+
## Maximum number of contacts
|
236
|
+
|
237
|
+
This will only manage the first 50 contacts in a file. Any beyond that are simply ignored by the pipelines.
|
238
|
+
|
239
|
+
## How can I change who can see this project?
|
240
|
+
|
241
|
+
To get others added or removed, please file a ticket with Support Operations using:
|
242
|
+
|
243
|
+
https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=360001801419
|
244
|
+
|
245
|
+
## Can I use this for important files for the support team?
|
246
|
+
|
247
|
+
As the access to this project is very restricted, the greater GitLab teams cannot access this. As such, you should not use this project for the purpose of storing files meant to seen by others.
|
248
|
+
|
249
|
+
## How do I know if it worked?
|
250
|
+
|
251
|
+
Upon success or failure, a badge is added to the project. This can be used to determine the status of the sync.
|
252
|
+
|
253
|
+
If you see the badge say the sync has failed, please open a ticket with ops:
|
254
|
+
|
255
|
+
https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=360001801419
|
209
256
|
|
210
257
|
## What should I do if it didn’t work?
|
211
258
|
|
@@ -179,6 +179,7 @@ module Readiness
|
|
179
179
|
|
180
180
|
def self.usgov_organization_info_comment
|
181
181
|
<<~STRING
|
182
|
+
#{@organization.organization_fields['org_in_escalated_state'] ? escalated_string : ''}
|
182
183
|
#{usgov_org_notes_string}
|
183
184
|
|
184
185
|
#{usgov_org_details_string}
|
@@ -255,14 +256,14 @@ module Readiness
|
|
255
256
|
def self.cmp_string
|
256
257
|
return nil if @organization.organization_fields['cmp_id'].nil?
|
257
258
|
|
258
|
-
"
|
259
|
+
"### This organization is using a contact management project!"
|
259
260
|
end
|
260
261
|
|
261
262
|
def self.org_notes_string
|
262
263
|
return nil if @organization.notes.to_s == ''
|
263
264
|
|
264
265
|
<<~STRING
|
265
|
-
|
266
|
+
### Support Readiness Notes about this Organizations
|
266
267
|
|
267
268
|
#{@organization.notes}
|
268
269
|
STRING
|
@@ -272,7 +273,7 @@ module Readiness
|
|
272
273
|
return nil if @organization.details.to_s == ''
|
273
274
|
|
274
275
|
<<~STRING
|
275
|
-
|
276
|
+
### Support Readiness Details about this Organizations
|
276
277
|
|
277
278
|
#{@organization.details}
|
278
279
|
STRING
|
@@ -301,9 +302,9 @@ module Readiness
|
|
301
302
|
def self.shared_org_string
|
302
303
|
return nil unless @organization.shared_tickets
|
303
304
|
|
304
|
-
return "
|
305
|
+
return "### This organization has shared org permissions (read only)" unless @organization.shared_comments
|
305
306
|
|
306
|
-
"
|
307
|
+
"### This organization has shared org permissions (read+write)"
|
307
308
|
end
|
308
309
|
|
309
310
|
def self.organization_entitlement_comment
|
@@ -323,17 +324,6 @@ module Readiness
|
|
323
324
|
end
|
324
325
|
|
325
326
|
def self.expired_message
|
326
|
-
if within_grace_period?
|
327
|
-
if @organization.organization_fields['health_score'].to_s.capitalize == 'Green'
|
328
|
-
return "## NOTE: Within grace period (#{grace_period}) and health score is Green, provide support to the customer as usual."
|
329
|
-
elsif @organization.organization_fields['health_score'].to_s.capitalize == 'Yellow'
|
330
|
-
return "## NOTE: Within grace period (#{grace_period}) but health score is Yellow, reach out to their CSM/AM in [#account-management](https://gitlab.slack.com/archives/C44SXGG8M) and ask about this customer. In the meantime provide support to the customer as usual."
|
331
|
-
elsif @organization.organization_fields['health_score'].to_s.capitalize == 'Red'
|
332
|
-
return "## NOTE: Within grace period (#{grace_period}) but health score is Red, reach out to their CSM/AM in [#account-management](https://gitlab.slack.com/archives/C44SXGG8M) and ask about this customer. Do not provide support until they tell you to proceed."
|
333
|
-
else
|
334
|
-
return "## NOTE: Within grace period (#{grace_period}) but health score is unknown, contact CSM/AM in [#account-management](https://gitlab.slack.com/archives/C44SXGG8M) and ask about this customer. Do not provide support until they tell you to proceed."
|
335
|
-
end
|
336
|
-
end
|
337
327
|
'## NOTE: This account is showing as expired. Please confirm manually before proceeding!'
|
338
328
|
end
|
339
329
|
|
@@ -364,11 +354,9 @@ module Readiness
|
|
364
354
|
|
365
355
|
def self.addons_message
|
366
356
|
addons = []
|
367
|
-
addons.push('AI') if @organization.organization_fields['sub_consumption_ai']
|
368
357
|
addons.push('GitLab Duo Premium') if @organization.organization_fields['sub_consumption_duo_premium']
|
369
358
|
addons.push('GitLab Duo Enterprise') if @organization.organization_fields['sub_consumption_duo_enterprise']
|
370
359
|
addons.push('GitLab Duo with Amazon Q') if @organization.organization_fields['sub_consumption_duo_amazon_q']
|
371
|
-
addons.push('AI addon') if @organization.organization_fields['sub_consumption_ai']
|
372
360
|
addons.push('Success Advanced') if @organization.organization_fields['sub_ss_success_growth']
|
373
361
|
addons.push('Success Signature') if @organization.organization_fields['sub_ss_success_enterprise']
|
374
362
|
addons.push('Consumption (CI/CD Minutes)') if @organization.organization_fields['sub_consumption_cicd_minutes']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab_support_readiness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Colyer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|