Enable Sourcegraph in admin settings
C3
Production Change - Criticality 3Change Objective | Describe the objective of the change |
---|---|
Change Type | ConfigurationChange |
Services Impacted | GitLab.com |
Change Team Members | Not sure who to put here |
Change Severity | C3 |
Change Reviewer or tested in staging | Not sure who to put here |
Due Date | 2019-11-20 |
Time tracking | To estimate and record times associated with changes ( including a possible rollback ) |
Detailed steps for the change. For each step the following must be considered:
- pre-conditions:
-
sourcegraph
feature flag is enabled forgitlab-org/gitlab
project on GitLab.com - Sourcegraph is disabled in admin settings
-
- execution:
- Go to Admin > Settings > Integrations
- Expand Sourcegraph
- For the Sourcegraph URL, enter
https://sourcegraph.com
- Check the Block for private and internal projects checkbox
- Check the Enable Sourcegraph checkbox
- Hit Save Changes
- post-condition:
- The admin settings changes should persist
- No requests are made to
sourcegraph.com
(verifiable in the developer console) when visiting a file. - In the user preferences, there should now be a Sourcegraph setting at the bottom.
- Check the Enable Sourcegraph checkbox in the user preferences and hit Save changes
- Now, when visiting a file, you should see a code intelligence popover when clicking on code references like
TodoService
.
Monitoring:
- Not sure what graphs we have related to this, but it'd be nice to monitor any requests were making to
sourcegrpah.com
from the client.
Rollback steps:
- Disable Sourcegraph in Sourcegraph admin settings
- Disable
sourcegraph
feature flag
Edited by Paul Slaughter