Silent mode - block mirroring
Release notes
Problem to solve
When silent mode is enabled, we want to block mirroring operations on repositories external to the GitLab instance. Silent mode is designed to allow admins to suppress outbound communications from a GitLab instance and perform a range of tests against that instance without these tests pushing changes to or making pull requests to external repositories.
Intended users
- Sidney (Systems Administrator)
- [Ingrid (Infrastructure Operator)](https://about.gitlab.com/handbook/product/personas
User experience goal
- When the GitLab instance is in silent mode, push, pull and bidirectional mirroring will be blocked from making changes or request data from external repositories.
- Systems administrators should be confident that as they perform tests on the GitLab instance that with silent mode enabled changes as a result of the tests are not pushed to external repositories with which the GitLab instance has configured push and bidirectional mirroring setup.
Proposal
Block outgoing push and pull mirror operations from GitLab instance when the silent mode configuration setting is enabled.
Permissions and Security
This feature is tied to the silent mode setting which is protected by admin permissions.
Documentation
This feature will be document as a subsection of the silent mode documentation.
Availability & Testing
We will need to test that all mirroring activity towards repositories external the GitLab instance are suppressed when silent mode is enabled.
This capability is to be available together with or after the silent mode configuration and API has been implemented.
Available Tier
- Free
- Premium/Silver
- Ultimate/Gold
Feature Usage Metrics
The metrics for this feature will be tied to metric of silent mode.
What does success look like, and how can we measure that?
We will measure the success of this feature in concert with the silent mode feature as this is one part of this large silent mode feature.
Is this a cross-stage feature?
No
What is the competitive advantage or differentiation for this feature?
Competitive advantage for this feature will be align with that of the silent mode feature itself of which this is a part of.
Links / references
Discovery discussions:
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.
@vyaklushin)
Implementation proposal (byAdd a check Gitlab::CurrentSettings.silent_mode_enabled?
to pull and push mirroring code.
- For pull mirroring we can add a check below this line.
- For push mirroring we can add the same check below this line.