Skip to content

Resolve "Notifications for CI Minutes quota limit approaching"

What does this MR do?

Notifies owners of Group/Personal account when the CI minutes quota is reaching their usage limit. Apart from the email notification we also show a banner on the Project detail page and the Pipelines list page.

If the owner was notified, we don't send a new email notification at least a new notification level is reached.

Screenshots

Banners

30% of available CI minutes:

Screen_Shot_2019-06-30_at_11.37.28_PM

5% of available CI minutes:

Screen_Shot_2019-06-30_at_11.26.20_PM

Emails

30% of available CI minutes:

Screen_Shot_2019-06-30_at_11.38.10_PM

5% of available CI minutes:

Screen_Shot_2019-06-30_at_11.37.59_PM

Does this MR meet the acceptance criteria?

Conformity

Performance 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

Closes #10283 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports