Resolve "Geo: Replicate Dependency Proxy Blobs"
What does this MR do and why?
Adds Dependency Proxy Blobs to the datatypes replicated through Geo SSF
How to set up and validate locally
- Configure branch in Geo enabled GDK installation
- Enable feature flag in rails console
Feature.enable(:geo_dependency_blob_replication)
- Pull test image via primary dependency proxy
docker pull 127.0.0.1:3000/gitlab-org/dependency_proxy/containers/debian:stable-slim
- Ensure Dependency Proxy Blob replication stats are appearing and corrent in replication stats in
/admin/geo/sites
- Ensure the replicated blobs are appearing on the secondary under
/path/to/secondary/gdk/gitlab/shared/dependency_proxy
- Make a
DELETE
HTTP call to API path/groups/gitlab-org/dependency_proxy/cache
and runDependencyProxy::CleanupBlobWorker.perform_with_capacity
. Confirm the blobs no longer appear on the secondary installation.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Query plans
Related to #375151 (closed)