Remove Gitlab.com check for ContainerRepository#size
What does this MR do and why?
In this MR, we remove the Gitlab.com
check for ContainerRepository#size
as we want to rollout the use of GitlabAPIClient#repository details
to self-managed as well.
Now, as long as the client supports the Gitlab API, we then call GitlabAPIClient#repository details
.
The migration is also done now on Gitlab.com, so we can remove the checks for status and creation dates.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
With a rails console and the container registry running, try to get the #size
of a container repository.In rails console enable the experiment fully
ContainerRepository.first.size
# => 1234
Related to #434601 (closed)
Edited by Adie (she/her)