Skip to content

Allow new pagination parameters for GitlabApiClient#tags

Adie (she/her) requested to merge 411265-update-client-tags-params into master

What does this MR do and why?

As part of &10208 (closed), we update ContainerRegistry::GitlabApiClient#tags to:

  1. Accept the new parameters, before. name, and sort, to the function and pass them as part of the query when calling /gitlab/v1/repositories/#{path}/tags/list/.
  2. Ensure that the new link format (with previous) can be parsed when available

The new parameters and link header format can also be seen in the Container Registry API documentation.

MR acceptance checklist

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

Related to #411265 (closed)

Merge request reports

Loading