Add project's shared_runners_duration to GraphQL

What does this MR do and why?

Related to #355666 (closed)

This MR exposes Ci::Minutes::ProjectMonthlyUsage#shared_runners_duration via GraphQL type Ci::Minutes::ProjectMonthlyUsageType the same way as we do it at namespace-level via NamespaceMonthlyUsageType.

This change allows us to show a breakdown of actual shared runners duration by project in the Usage Quota page for a group or user namespace.

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

Numbered steps to set up and validate the change are strongly suggested.

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 Fabio Pitino

Merge request reports

Loading