Skip to content

Draft: Adding Rake task for Packages local migration

Jessie Lee requested to merge jl-migrate-packages-local into master

What does this MR do and why?

Adding Rake task for Packages local migration

To keep in line with artifacts and uploads packages needs a way to reverse migrations to object storage

prompted by customer request https://gitlab.zendesk.com/agent/tickets/440051 (internal link)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Have object storage configured for packages
  2. Upload package to package registry
  3. In shell run gitlab-rake gitlab:packages:migrate_to_local
  4. Check local disk and UI for package migration

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jessie Lee

Merge request reports