WIP: Backend: Add Sentry as a GitLab managed app
What does this MR do?
This is an initial MR to get Sentry deployed as a GitLab managed app.
What is included
- Migrations to set up the Sentry cluster application
- Filled out a minimal configuration in order for the Sentry app to be deployed and the user able to log into the Web UI.
- Can be manually deployed with
Clusters::Applications::InstallService.new(sentry_app).execute
What will come in subsequent MRs
- frontend implementation
- Ability to configure more settings, such an SMTP email settings.
- GitLab Managed Apps V2 config (&2103)
Screenshots
![Screen_Shot_2019-11-22_at_4.39.44_PM](/-/project/278964/uploads/b1be45420b63a99b32f7fde541ee9f4e/Screen_Shot_2019-11-22_at_4.39.44_PM.png)
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Testing
To test you can do the following
- Connect a Cluster to your GitLab project: https://docs.gitlab.com/ee/user/project/clusters/add_remove_clusters.html#add-existing-gke-cluster
- Install ingress
- Manually setup Sentry application:
Clusters::Applications::Sentry.create!(cluster: <cluster>, hostname: 'sentry.<ingress-ip>')
- Set the application to 'installable':
sentry.update(status: 1)
- Install Sentry
Clusters::Applications::InstallService.new(sentry).execute
Relates to #26513 (closed)
Edited by Sean Arnold