Skip to content

Add GraphQL API to temporarily increase storage

What does this MR do?

Part of https://gitlab.com/groups/gitlab-org/-/epics/3941 and https://gitlab.com/gitlab-org/gitlab/-/issues/227053

This adds the mutation to temporarily increase the storage, by setting temporary_storage_increase_ends_on which later will be used to change the limit during the period of the time. This field can only be set once per namespace.

Try out the mutation

mutation {
  namespaceIncreaseStorageTemporarily(input:{id:"gid://gitlab/Group/28"}) {
    namespace {
      id
      temporaryStorageIncreaseEndsOn
    }
    errors
  }
}

Screenshots

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 Nicolas Dular

Merge request reports