Skip to content

Add pipeline_artifacts_size to RootStorageStatisticsType

Max Orefice requested to merge mo-pipeline-artifacts-size-graphql into master

Ref: #241179 (closed)

What does this MR do?

This MR adds the new field pipeline_artifacts_size to the RootStorageStatisticsType GraphQL class.

Example

GraphQL request Response
{
  namespace(fullPath: "root") {
    rootStorageStatistics {
      pipelineArtifactsSize
    }
  }
}
{
  "data": {
    "namespace": {
      "rootStorageStatistics": {
        "pipelineArtifactsSize": 271
      }
    }
  }
}

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Max Orefice

Merge request reports