Multiplier for pipeline minutes per runner

Description

I am writing this from the perspective of a GitLab admin, who is running a build farm.

Our build farm comprises machines/VM instances that have different costs, for differing types of builds. Pipeline minutes count by wall-clock time alone. It would be great if we can factor costs of the runner into the pipeline minutes utilised, e.g. a VM with 2 CPUs will consume 2x as many pipeline minutes as a VM with 1 CPU.

Proposal

The simplest approach is to add a multiplier per runner, and scale the reported number of pipeline minutes up by that multiplier. Other more complex solutions may exist.

Links to related issues and merge requests / references

gitlab-runner#3626

Assignee Loading
Time tracking Loading