Compute minutes administration for GitLab.com

  • Tier: Premium, Ultimate
  • Offering: GitLab.com

GitLab.com administrators have additional controls over compute minutes beyond what is available for GitLab Self-Managed.

Set cost factors

Prerequisites:

  • You must be an administrator for GitLab.com.

To set cost factors for a runner:

  1. On the left sidebar, at the bottom, select Admin.
  2. Select CI/CD > Runners.
  3. For the runner you want to update, select Edit ( pencil ).
  4. In the Public projects compute cost factor text box, enter the public cost factor.
  5. In the Private projects compute cost factor text box, enter the private cost factor.
  6. Select Save changes.

Reduce cost factors for community contributions

When the ci_minimal_cost_factor_for_gitlab_namespaces feature flag is enabled for a namespace, merge request pipelines from forks that target projects in the enabled namespace use a reduced cost factor. This ensures community contributions don’t consume excessive compute minutes.

Prerequisites:

  • You must be able to control feature flags.
  • You must have the namespace ID for which you want to enable reduced cost factors.

To enable a namespace to use a reduced cost factor:

  1. Enable the feature flag ci_minimal_cost_factor_for_gitlab_namespaces for the namespace ID you want to include.

This feature is recommended for use on GitLab.com only. Community contributors should use community forks for contributions to avoid accumulating minutes when running pipelines that are not in a merge request targeting a GitLab project.