Add container registry storage type to project storage list
Related to #356187 (closed)
Adds "Container Registry" row to project usage quotas statistics.
Screenshots and recordings
Steps to reproduce
- Run rails console
rails c
- Find a project id that you'll add Container Registry to, via
Project.all
- Enable feature for that project, e.g.
Feature.enable(:container_registry_project_statistics, Project.find( 42 ))
- Set Container Registry size of it via
Project.find(42).statistics.update(container_registry_size: 3_000_000)
- Open usage quotas for this project and note the new Container Registry entry in the table
Edited by Kos Palchyk