Skip to content

Resolve "Geo: Replicate Dependency Proxy Blobs"

Ian Baum requested to merge 375151-geo-replicate-dependency-proxy-blobs into master

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

  1. Configure branch in Geo enabled GDK installation
  2. Enable feature flag in rails console Feature.enable(:geo_dependency_blob_replication)
  3. Pull test image via primary dependency proxy docker pull 127.0.0.1:3000/gitlab-org/dependency_proxy/containers/debian:stable-slim
  4. Ensure Dependency Proxy Blob replication stats are appearing and corrent in replication stats in /admin/geo/sites
  5. Ensure the replicated blobs are appearing on the secondary under /path/to/secondary/gdk/gitlab/shared/dependency_proxy
  6. Make a DELETE HTTP call to API path /groups/gitlab-org/dependency_proxy/cache and run DependencyProxy::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.

Query plans

Related to #375151 (closed)

Edited by Ian Baum

Merge request reports