Draft: Adds license_plan as field returned in rake task
What does this MR do and why?
The existing rake task to output license info was contributed by the Support Team so that we may determine if a license was correctly applied to an instance. We also want to check if the feature is applicable while troubleshooting an instance. For example, a scenario where we try to troubleshoot an Ultimate only feature but the customer has applied a Premium license. The license rake task should tell us the current plan on the instance.
Screenshots or screen recordings
Example output:
# sudo gitlab-rake gitlab:license:info
Today's Date: 2022-11-14
Current User Count: 72
Max Historical Count: 72
Max Users in License: 100
License valid from: 2022-04-27 to 2023-04-27
License plan: ultimate
Email associated with license: me@example.com
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Enter the command line and type the following
sudo gitlab-rake gitlab:license:info
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Matthew Badeau