Skip to content

Expose container_registry_size via GraphQL

Vijay Hawoldar requested to merge vij-expose-container-registry-size into master

What does this MR do and why?

So that ProjectStatistics#container_registry_size can be used in the Usage Quotas page, we expose the attribute via GraphQL

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

  1. Visit the GraphiQL explorer at http://gdk.test:3000/-/graphql-explorer
  2. Execute the query:
    query {
      project(fullPath:"path/to/your/project") {
        statistics {
          containerRegistrySize
        }
      }
    }

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 Vijay Hawoldar

Merge request reports