Update the gitlab-license gem to version 2.2.0
What does this MR do and why?
This MR updates the gitlab-license gem to the 2.2.0 version which now requires the expires_at
date for licenses. The exception are licenses generated for GitLab owned email addresses.
Some specs needed updates because they relied on an "unlimited" license being created. With the new gem version we need to pass the correct licensee for it to be created correctly.
Relevant change in CustomersDot
More details in the gitlab-license MR (internal).
Related issue
Screenshots or screen recordings
N/A
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
If you have an unlimited license (without expires_at
) for your development environment and the license was generated for a GitLab owned email address, checking out this branch should not present any changes.
If you have an unlimited license (without expires_at
) for your development environment and the license was generated for a non GitLab address, checking out this branch should revert to the behavior of not having an active subscription (since the license now should be invalid from the gem).
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.