Skip to content

Save instance administration project id in DB

Reuben Pereira requested to merge 44496-save-project-id into master

What does this MR do?

We introduced a new Instance Administration project in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/30153 that will be used for self-monitoring the GitLab instance. The service to create the project has not been executed as yet. A migration will be introduced that will automatically execute the service for everyone.

Since we will want to update the Instance Administration project with new changes in the future, we need an easy way to identify the project even if admins have changed the name of the project, or moved it.

This MR introduces a new column in ApplicationSetting table and saves the project ID in it.

EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15018

Issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/56883

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports