Allow automated activation
What does this MR do and why?
Part of customers-gitlab-com#4646 (closed)
Allow activation to be automated during installation.
This is behind the feature flag therefore I've not included documentation update or changelog.
How to set up and validate locally
- Start CDot
- Enable feature flag, if you aren't using general dev environment name
customers-development
. - Create a cloud license subscription on CDot, and obtain its activation code
- On SM instance, run
bundle exec rake gitlab:license:load GITLAB_ACTIVATION_CODE=foobar
The result should be Activation successful
. Check by going to Rails console and see License.last
is the newly created license file.
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 Mark Chao