Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 43,792
    • Issues 43,792
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,418
    • Merge requests 1,418
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #12998
Closed
Open
Created Jul 23, 2019 by Wei-Meng Lee@weimeng📖Maintainer

Notifications for CI Minutes quota limits should not mention purchases for self-hosted GitLab

Summary

Self-hosted GitLab users receive a notification email of the sort below:

This is an automated notification to let you know that your CI Runner Minutes quota for "example.com" is below 5%.

Click here to purchase more minutes.

If you need assistance, please contact GitLab support.

The "Click here to purchase more minutes" text caused a premium customer to misunderstand (Zendesk, internal only) that we were asking them to make an additional purchase.

Steps to reproduce

Set up a pipeline minutes quota for your instance.

What is the current bug behavior?

The text says to purchase more minutes - this is a SaaS feature. We do not currently offer add-on shared runner minutes for self-managed instances.

What is the expected correct behavior?

  • Self-managed users should not receive email notifications
  • Self-managed users should receive the following in-app notifications:
  1. When quota has expired: Your pipelines quota has expired, please contact your systems administrator
  2. At 10% of quota left: Your pipelines quota is about to expire, please contact your systems administrator

Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)

Output of checks

Reported in 12.1.0-ee

Possible fixes

This was introduced in https://gitlab.com/gitlab-org/gitlab-ee/commit/8d8e2098dde7c9f21ba51e8b033b46a13ce467a6.

I think we're just missing some if ::Gitlab.com? conditionals.

Edited Jul 23, 2019 by Luca Kisielius
Assignee
Assign to
Time tracking