Add rake task to check replication status
What does this MR do?
Issue #217465 (closed)
This MR adds a rake task to check the replication status of repos, etc.
It depends on a refactoring MR !33871 (merged)
Screenshots/current ouput
➜ gitlab git:(ag-check-replication-status) ✗ be rake geo:check_replication_verification_status
Repositories: 0/8 (0%)
Verified Repositories: 0/8 (0%)
Wikis: 0/8 (0%)
Verified Wikis: 0/8 (0%)
LFS Objects: 0/0 (0%)
Attachments: 0/0 (0%)
CI job artifacts: 0/0 (0%)
Design repositories: 0/0 (0%)
Repositories Checked: 0/8 (0%)
ERROR - Replication is not up-to-date.
Please see documentation to complete replication: https://docs.gitlab.com/ee/administration/geo/disaster_recovery/planned_failover.html#ensure-geo-replication-is-up-to-date
➜ gitlab git:(ag-check-replication-status) ✗
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
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
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 Aakriti Gupta