• David Fernandez's avatar
    Refactor the nuget package updater service · 1df93ae5
    David Fernandez authored
    To use the `packages_nuget_new_package_file_updater` flag which controls
    how the package file is updated and how the underlying file in object
    storage is moved.
    
    With the feature flag disabled: the file is downloaded (multiple times)
    to get re-uploaded. This doesn't work well with package files linked to
    a heavy file on object storage.
    With the feature flag enabled: the file is simply moved in object
    storage (copy command followed by destroy command), thus avoiding
    downloading and uploading the actual file.
    
    This commit introduces a new service to handle this file move in object
    storage.
    
    Rollout issue: https://gitlab.com/gitlab-org/gitlab/-/issues/336511
    
    Changelog: fixed
    1df93ae5
package_file_spec.rb 8.13 KB