Support automatically importing a local EE license during initial install
Problem to solve
Automatically providing a bundled license file in certain GitLab packages. See https://gitlab.com/gitlab-org/omnibus-gitlab/issues/4225 (GitLab-org only)
Intended users
Internal primarily. The ~Distribution team would like to use this feature in automated installations. This could also be useful for GitLab System Admin when initially setting up their instance.
Proposal
Add a new db production fixture that checks for the existence of an GITLAB_EE_LICENSE_FILEPATH
and whether the referenced file exists, then imports the file into the licenses table.
By default, we will check config/GitLab.gitlab-license
for source installs, and /etc/gitlab/GitLab.gitlab-license
for omnibus.
Permissions and Security
Only used during db seeding, by the System Admin.
Links / references
Edited by Joshua Lambert