Skip to content

Add CI minutes cost factors as Runner API params

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

It is not a hard requirement for an MVP: https://gitlab.slack.com/archives/CVCA2BD08/p1586351331059700 (it is only 10 runner update which would be done via UI by our SRE).

So, I consider grooming this issue after the MVP is released and decide if it is worth prioritizing it, taking into account there are some complications testing it:

The following discussion from !27792 (merged) should be addressed:

  • @fabiopitino started a discussion: (+2 comments)

    These params should be ignored if not on Gitlab.com and should also be ignored unless the runner is instance type and the user is instance admin.

for testing an updated API you could run something like this: curl --request PUT --header "PRIVATE-TOKEN: <YOUR_TOKEN>" --form "public_projects_minutes_cost_factor=7.7" http://localhost:3000/api/v4/runners/6

Edited by 🤖 GitLab Bot 🤖