Display build minutes (EE only)
Description
We are going to start calculating shared CI runner build minutes used per user/group; now we need to report build minute usage to users. Perhaps this should be an EE-only feature, but the current MR is in CE.
Proposal
- Maybe add a new page into group settings?
- Report shared runner build minutes used this month
- [Stretch] Show history of build minutes used each month
- [Stretch] Show max build minutes used in last X months
- [Stretch] Show build minute limit and indication of whether you are under/over
- [Stretch] Project estimated build minutes for the rest of the month
- [Stretch] Or show current build minute usage relative to prorated monthly limit
- [Stretch] Show when user/group is over limit
- [Stretch] Know if user/group has purchased Bronze package, show information about it
Design
- Pipeline list label:
- Pipeline list label tooltip:
- Group settings pipeline quote dropdown: (wording should be: Build minute quota)
- Group settings pipeline quota screen:
- When editing a group as admin at /admin/groups/groupname/edit: (With the help icon leading to an help page explaining build minutes.)
- Warning on groups and projects that have CI and shared runners enabled visible to any member:
- Same warning for group admins (stretch):
- 80% warning for group admins (stretch):
Links / references
- Per-minute MR: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7828